Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture the SNS topic ARN under the 'messaging.destination.name' span attribute. #10096

Merged
merged 10 commits into from
Jan 3, 2024
Prev Previous commit
Next Next commit
Add missing assertions to javaagent SNS tests.
  • Loading branch information
tduncan committed Dec 22, 2023
commit b32078c1223318e4d76c75612094537b04b820f7
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ class SnsTracingTest extends AgentInstrumentationSpecification {
"$SemanticAttributes.SERVER_ADDRESS" String
"$SemanticAttributes.NETWORK_PROTOCOL_VERSION" "1.1"
"$SemanticAttributes.SERVER_PORT" { it == null || Number }
"$SemanticAttributes.MESSAGING_DESTINATION_NAME" topicArn
}
}
}
Expand All @@ -164,6 +165,7 @@ class SnsTracingTest extends AgentInstrumentationSpecification {
"$SemanticAttributes.SERVER_ADDRESS" String
"$SemanticAttributes.NETWORK_PROTOCOL_VERSION" "1.1"
"$SemanticAttributes.SERVER_PORT" { it == null || Number }
"$SemanticAttributes.MESSAGING_DESTINATION_NAME" topicArn
}
}
span(1) {
Expand Down