We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94cb94f commit 290bbc2Copy full SHA for 290bbc2
packages/node/src/integrations/tracing/prisma.ts
@@ -225,7 +225,7 @@ export const prismaIntegration = defineIntegration((options?: PrismaOptions) =>
225
}
226
227
// Make sure we use the query text as the span name, for ex. SELECT * FROM "User" WHERE "id" = $1
228
- if (spanJSON.description === 'prisma:engine:db_query' && spanJSON.data['db.query.text']) {
+ if ((spanJSON.description === 'prisma:engine:db_query' || spanJSON.description === 'prisma:client:db_query') && spanJSON.data['db.query.text']) {
229
span.updateName(spanJSON.data['db.query.text'] as string);
230
231
0 commit comments