File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
aws-distro-opentelemetry-node-autoinstrumentation/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -432,14 +432,14 @@ export class AwsMetricAttributeGenerator implements MetricAttributeGenerator {
432432 remoteResourceIdentifier = AwsMetricAttributeGenerator . escapeDelimiters (
433433 span . attributes [ AWS_ATTRIBUTE_KEYS . AWS_BEDROCK_AGENT_ID ]
434434 ) ;
435- cloudFormationIdentifier = `${ AwsMetricAttributeGenerator . escapeDelimiters (
436- span . attributes [ AWS_ATTRIBUTE_KEYS . AWS_BEDROCK_KNOWLEDGE_BASE_ID ]
437- ) } |${ remoteResourceIdentifier } `;
438435 } else if ( AwsSpanProcessingUtil . isKeyPresent ( span , AWS_ATTRIBUTE_KEYS . AWS_BEDROCK_DATA_SOURCE_ID ) ) {
439436 remoteResourceType = NORMALIZED_BEDROCK_SERVICE_NAME + '::DataSource' ;
440437 remoteResourceIdentifier = AwsMetricAttributeGenerator . escapeDelimiters (
441438 span . attributes [ AWS_ATTRIBUTE_KEYS . AWS_BEDROCK_DATA_SOURCE_ID ]
442439 ) ;
440+ cloudFormationIdentifier = `${ AwsMetricAttributeGenerator . escapeDelimiters (
441+ span . attributes [ AWS_ATTRIBUTE_KEYS . AWS_BEDROCK_KNOWLEDGE_BASE_ID ]
442+ ) } |${ remoteResourceIdentifier } `;
443443 } else if ( AwsSpanProcessingUtil . isKeyPresent ( span , AWS_ATTRIBUTE_KEYS . AWS_BEDROCK_GUARDRAIL_ID ) ) {
444444 remoteResourceType = NORMALIZED_BEDROCK_SERVICE_NAME + '::Guardrail' ;
445445 remoteResourceIdentifier = AwsMetricAttributeGenerator . escapeDelimiters (
You can’t perform that action at this time.
0 commit comments