Skip to content

Commit edb6895

Browse files
committed
Remove span attributes that are no longer part of the semantic conventions spec for messaging spans
1 parent 3442633 commit edb6895

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
@@ -42,14 +42,11 @@ import {
4242
import { pubsubPropagation } from '@opentelemetry/propagation-utils';
4343
import {
4444
ATTR_URL_FULL,
45-
MESSAGINGDESTINATIONKINDVALUES_QUEUE,
4645
MESSAGINGOPERATIONVALUES_PROCESS,
4746
SEMATTRS_MESSAGING_DESTINATION,
48-
SEMATTRS_MESSAGING_DESTINATION_KIND,
4947
SEMATTRS_MESSAGING_MESSAGE_ID,
5048
SEMATTRS_MESSAGING_OPERATION,
5149
SEMATTRS_MESSAGING_SYSTEM,
52-
SEMATTRS_MESSAGING_URL,
5350
} from '@opentelemetry/semantic-conventions';
5451
import { ATTR_CLOUD_ACCOUNT_ID, ATTR_FAAS_COLDSTART } from './semconv';
5552
import { ATTR_FAAS_EXECUTION, ATTR_FAAS_ID } from './semconv-obsolete';
@@ -337,10 +334,7 @@ export class AwsLambdaInstrumentation extends InstrumentationBase<AwsLambdaInstr
337334
attributes: {
338335
[SEMATTRS_MESSAGING_SYSTEM]: 'aws.sqs',
339336
[SEMATTRS_MESSAGING_DESTINATION]: queueName,
340-
[SEMATTRS_MESSAGING_DESTINATION_KIND]:
341-
MESSAGINGDESTINATIONKINDVALUES_QUEUE,
342337
[SEMATTRS_MESSAGING_MESSAGE_ID]: message.messageId,
343-
[SEMATTRS_MESSAGING_URL]: queueArn,
344338
[SEMATTRS_MESSAGING_OPERATION]:
345339
MESSAGINGOPERATIONVALUES_PROCESS,
346340
},

0 commit comments

Comments
 (0)