Skip to content

Commit 64ed536

Browse files
zzhloginthpierce
authored andcommitted
Fix naming.
1 parent 2cee702 commit 64ed536

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

awsagentprovider/src/main/java/software/amazon/opentelemetry/javaagent/providers/AwsMetricAttributeGenerator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,8 @@ private static String normalizeRemoteServiceName(SpanData span, String serviceNa
372372
return NORMALIZED_SQS_SERVICE_NAME;
373373
// For Bedrock, Bedrock Agent, and Bedrock Agent Runtime, we can align with AWS Cloud
374374
// Control and use AWS::Bedrock for RemoteService.
375-
case "Bedrock": // AWS SDK v2 & v1
375+
case "AmazonBedrock": // AWS SDK v1
376+
case "Bedrock": // AWS SDK v2
376377
case "AWSBedrockAgentRuntime": // AWS SDK v1
377378
case "BedrockAgentRuntime": // AWS SDK v2
378379
case "AWSBedrockAgent": // AWS SDK v1

0 commit comments

Comments
 (0)