Skip to content
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

feat(node/v8): Add prismaInstrumentation option to Prisma integration as escape hatch for all Prisma versions #15128

Merged
merged 4 commits into from
Jan 22, 2025

Conversation

lforst
Copy link
Member

@lforst lforst commented Jan 22, 2025

Ref #14793

Backport of #15127

Adds a compatibility layer to the prismaIntegration via the prismaInstrumentation option that can be used to pass a prisma instrumentation instance of older Prisma versions.

…on as escape hatch for all Prisma versions
@lforst lforst requested a review from chargome January 22, 2025 11:52
Copy link
Member

@chargome chargome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, please refer to my comments in #15127

@lforst lforst merged commit d9138ff into v8 Jan 22, 2025
111 checks passed
@lforst lforst deleted the lforst-prisma-v8-escape-hatch branch January 22, 2025 13:00
@tshak
Copy link

tshak commented Jan 28, 2025

We're using @sentry/nextjs 8.51.0 and following these instructions:

https://newreleases.io/project/github/getsentry/sentry-javascript/release/8.51.0

We're seeing this error:
Attempted import error: 'prismaIntegration' is not exported from '@sentry/nextjs' (imported as 'prismaIntegration').

Any tips?

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

Successfully merging this pull request may close these issues.

3 participants