File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
aws-distro-opentelemetry-node-autoinstrumentation/src Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -450,12 +450,6 @@ export class AwsMetricAttributeGenerator implements MetricAttributeGenerator {
450450 remoteResourceIdentifier = AwsMetricAttributeGenerator . escapeDelimiters (
451451 span . attributes [ AWS_ATTRIBUTE_KEYS . AWS_SQS_QUEUE_NAME ]
452452 ) ;
453- // If queue URL is also present, use it as the CloudFormation primary identifier
454- if ( AwsSpanProcessingUtil . isKeyPresent ( span , AWS_ATTRIBUTE_KEYS . AWS_SQS_QUEUE_URL ) ) {
455- cloudFormationIdentifier = AwsMetricAttributeGenerator . escapeDelimiters (
456- span . attributes [ AWS_ATTRIBUTE_KEYS . AWS_SQS_QUEUE_URL ]
457- ) ;
458- }
459453 } else if ( AwsSpanProcessingUtil . isKeyPresent ( span , AWS_ATTRIBUTE_KEYS . AWS_SQS_QUEUE_URL ) ) {
460454 const sqsQueueUrl = AwsMetricAttributeGenerator . escapeDelimiters (
461455 span . attributes [ AWS_ATTRIBUTE_KEYS . AWS_SQS_QUEUE_URL ]
You can’t perform that action at this time.
0 commit comments