Skip to content

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

Merged
mydea merged 1 commit intodevelopfrom
fn/prisma-no-db-system
Dec 18, 2024
Merged

feat(node): Do not overwrite prisma db.system in newer Prisma versions#14771
mydea merged 1 commit intodevelopfrom
fn/prisma-no-db-system

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