Skip to content

Commit 5836f88

Browse files
committed
Remove span attributes that are no longer part of the semantic conventions spec for messaging spans
1 parent 412de1f commit 5836f88

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/instrumentation-aws-lambda/src/instrumentation.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,11 @@ import {
4545
SEMATTRS_FAAS_EXECUTION,
4646
SEMRESATTRS_CLOUD_ACCOUNT_ID,
4747
SEMRESATTRS_FAAS_ID,
48-
MESSAGINGDESTINATIONKINDVALUES_QUEUE,
4948
MESSAGINGOPERATIONVALUES_PROCESS,
5049
SEMATTRS_MESSAGING_DESTINATION,
51-
SEMATTRS_MESSAGING_DESTINATION_KIND,
5250
SEMATTRS_MESSAGING_MESSAGE_ID,
5351
SEMATTRS_MESSAGING_OPERATION,
5452
SEMATTRS_MESSAGING_SYSTEM,
55-
SEMATTRS_MESSAGING_URL,
5653
} from '@opentelemetry/semantic-conventions';
5754
import { ATTR_FAAS_COLDSTART } from './semconv';
5855

@@ -306,10 +303,7 @@ export class AwsLambdaInstrumentation extends InstrumentationBase<AwsLambdaInstr
306303
attributes: {
307304
[SEMATTRS_MESSAGING_SYSTEM]: 'aws.sqs',
308305
[SEMATTRS_MESSAGING_DESTINATION]: queueName,
309-
[SEMATTRS_MESSAGING_DESTINATION_KIND]:
310-
MESSAGINGDESTINATIONKINDVALUES_QUEUE,
311306
[SEMATTRS_MESSAGING_MESSAGE_ID]: message.messageId,
312-
[SEMATTRS_MESSAGING_URL]: queueArn,
313307
[SEMATTRS_MESSAGING_OPERATION]:
314308
MESSAGINGOPERATIONVALUES_PROCESS,
315309
},

0 commit comments

Comments
 (0)