Skip to content

feat: Adjustable verbosity of prismaExtension #1830

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
luap2703 opened this issue Mar 27, 2025 · 1 comment
Closed

feat: Adjustable verbosity of prismaExtension #1830

luap2703 opened this issue Mar 27, 2025 · 1 comment

Comments

@luap2703
Copy link

Is your feature request related to a problem? Please describe.

Currently, using the prismaExtension is a bit too verbose (see image). Eventually, all prisma steps are logged.

Image

Describe the solution you'd like to see

Id would be good being able to set the verbosity of the prismaExtension, i.e., hiding all non-important steps, like:

Image

Describe alternate solutions

Additional information

No response

@matt-aitken
Copy link
Member

These spans are actually coming from an official Prisma package (@prisma/instrumentation) that we don't control. You have added this to the trigger.config file under instrumentations.

Their docs are here, but it looks like you can't configure which spans they produce: https://www.prisma.io/docs/orm/prisma-client/observability-and-logging/opentelemetry-tracing#reduce-performance-impact

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants