AppSignal for Node.jsThis feature requires version 3.0.0 or higher.
PrismaThis feature requires version 4.2 or higher.

Default instrumentations can be disabled via the disableDefaultInstrumentations config option. You can read more about how to configure this in our Configuration Options documentation.

The AppSignal for Node.js integration for Prisma.

Prisma is an ORM (Object Relation Mapping) tool for Node.js that allows you to manage and interact with your application's database. You can learn more about Prisma on their official website.


In order for Prisma to be instrumented automatically by the AppSignal for Node.js package, you must enable the tracing preview feature in your Prisma schema:

// schema.prisma generator client { provider = "prisma-client-js" previewFeatures = ["tracing"] }


The Prisma integration will send AppSignal a child span for each query, along with other child spans representing the connection to the database and the serialisation process.

The child span for the query represents the duration of the query and contains the SQL query sanitized. If using Mongo, it contains the model and method name that was queried.