Skip to content

Commit a9ab2d8

Browse files
committed
Fix naming.
1 parent 01eb413 commit a9ab2d8

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
@@ -369,7 +369,8 @@ private static String normalizeRemoteServiceName(SpanData span, String serviceNa
369369
return NORMALIZED_SQS_SERVICE_NAME;
370370
// For Bedrock, Bedrock Agent, and Bedrock Agent Runtime, we can align with AWS Cloud
371371
// Control and use AWS::Bedrock for RemoteService.
372-
case "Bedrock": // AWS SDK v2 & v1
372+
case "AmazonBedrock": // AWS SDK v1
373+
case "Bedrock": // AWS SDK v2
373374
case "AWSBedrockAgentRuntime": // AWS SDK v1
374375
case "BedrockAgentRuntime": // AWS SDK v2
375376
case "AWSBedrockAgent": // AWS SDK v1

0 commit comments

Comments
 (0)