Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

feat(node): Do not overwrite prisma db.system in newer Prisma versions#14771

Merged
mydea merged 1 commit intodevelopgetsentry/sentry-javascript:developfrom
fn/prisma-no-db-systemgetsentry/sentry-javascript:fn/prisma-no-db-systemCopy head branch name to clipboard
Dec 18, 2024
Merged

feat(node): Do not overwrite prisma db.system in newer Prisma versions#14771
mydea merged 1 commit intodevelopgetsentry/sentry-javascript:developfrom
fn/prisma-no-db-systemgetsentry/sentry-javascript:fn/prisma-no-db-systemCopy head branch name to clipboard

Conversation

@mydea
Copy link
Member

@mydea mydea commented Dec 18, 2024

Since v5.22, Prisma properly adds the db.system to it's OTEL spans.
This PR fixes the behavior so we do not overwrite it. For now, I left the fallback behavior in, that would add it if db.system is missing - as otherwise this would "break" on older prisma versions.

This also needs to be backported to v8.

@mydea mydea merged commit 786c5ca into develop Dec 18, 2024
@mydea mydea deleted the fn/prisma-no-db-system branch December 18, 2024 09:07
mydea added a commit that referenced this pull request Dec 18, 2024
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.