Skip to content

Commit b599f6d

Browse files
Update packages/tracing/src/integrations/node/prisma.ts
Co-authored-by: Abhijeet Prasad <[email protected]>
1 parent a92f781 commit b599f6d

File tree

1 file changed

+2
-2
lines changed
  • packages/tracing/src/integrations/node

1 file changed

+2
-2
lines changed

packages/tracing/src/integrations/node/prisma.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ export class Prisma implements Integration {
7979
const model = params.model;
8080

8181
const span = parentSpan?.startChild({
82-
description: `Action: ${action}, ${model ? `Model: ${model}` : ''}`,
83-
op: 'prisma',
82+
description: model ? `${model} ${action}` : action,
83+
op: 'db.prisma',
8484
});
8585

8686
const rv = next(params);

0 commit comments

Comments
 (0)