Skip to content

Commit 5285a15

Browse files
committed
Set db op on DynamoDB aws-sdk spans
1 parent d3ceb52 commit 5285a15

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • packages/server-utils/src/integrations/tracing-channel/aws-sdk/services

packages/server-utils/src/integrations/tracing-channel/aws-sdk/services/dynamodb.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ export class DynamodbServiceExtension implements ServiceExtension {
151151
return {
152152
spanAttributes,
153153
spanKind: SPAN_KIND.CLIENT,
154+
// Matches what the exporter infers from `db.system` for the OTel DynamoDB spans.
155+
spanOp: 'db',
154156
};
155157
}
156158

0 commit comments

Comments
 (0)