Observability & logging
In this section
Prisma Optimize helps you generate insights and provides recommendations that can help you make your database queries faster:
Optimize aims to help developers of all skill levels write efficient database queries, reducing database load and making applications more responsive.
Logging
Use the PrismaClient log parameter to configure log levels , including warnings, errors, and information about the queries sent to the database.
Metrics
Prisma Client metrics give you a detailed insight into how Prisma Client interacts with your database. You can use this insight to help diagnose performance issues with your application.
OpenTelemetry tracing
Tracing provides a detailed log of the activity that Prisma Client carries out, at an operation level, including the time taken to execute each query. It helps you analyze your application's performance and identify bottlenecks. Tracing is fully compliant with OpenTelemetry, so you can use it as part of your end-to-end application tracing system.