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): Do not overwrite prisma db.system in newer Prisma versions #14771

Merged
merged 1 commit into from
Dec 18, 2024

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
115 checks passed
@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