Capture SNS Topic ARNs as an attribute #10030
Labels
contribution welcome
Request makes sense, maintainers probably won't have time, contribution would be welcome
enhancement
New feature or request
Is your feature request related to a problem? Please describe.
Important messaging details are not explicitly captured when instrumenting AWS SNS publish API calls. Depending on the version of the AWS SDK in use there may be information included as query parameters -- which is captured by the OpenTelemetry instrumentation -- but newer versions of the SDK have switched to including that information in the request body causing the information to be completely missing from the emitted spans.
Of particular concern in the SNS topic ARN to uniquely identify the SNS topic.
Describe the solution you'd like
Record the SNS topic ARN using the
messaging.destination.name
attribute.Describe alternatives you've considered
Older versions of the AWS SDK utilize HTTP query parameters and included the SNS Topic ARN.
Example:
Below is an example of details included as HTTP query parameters
Additional context
The same issue has been raised and accepted in the NodeJS (issue, commit) and Python (issue, commit).
The text was updated successfully, but these errors were encountered: