Prisma
This feature requires AppSignal for Node.js version 3.0.0 or higher.
This feature requires Prisma version 4.2 or higher.
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.
Installation
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:
Features
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.