We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 164c863 commit b2633afCopy full SHA for b2633af
aws-distro-opentelemetry-node-autoinstrumentation/src/aws-metric-attribute-generator.ts
@@ -469,15 +469,12 @@ export class AwsMetricAttributeGenerator implements MetricAttributeGenerator {
469
attributes[AWS_ATTRIBUTE_KEYS.AWS_REMOTE_RESOURCE_IDENTIFIER] = remoteResourceIdentifier;
470
471
if (AwsSpanProcessingUtil.isAwsSDKSpan(span)) {
472
-
473
if (cloudFormationIdentifier === undefined) {
474
cloudFormationIdentifier = remoteResourceIdentifier;
475
}
476
477
attributes[AWS_ATTRIBUTE_KEYS.AWS_CLOUDFORMATION_PRIMARY_IDENTIFIER] = cloudFormationIdentifier;
478
479
480
481
482
483
0 commit comments