-
Notifications
You must be signed in to change notification settings - Fork 829
Description
open-telemetry/opentelemetry-js-contrib#1716
Is your feature request related to a problem?
Should we be capturing topic ARNs as messaging.destination instead of name, we loose information about the account, region the topic belongs to by using just the name. This additional information is helpful in locating the topic
Describe the solution you'd like
We already have handle to arn in the boto-core instrumentation extension for SNS. If it makes sense, we should use arn as the value of messaging.destination attribute capture arn
Also considered adding account and region information of the topic to the span attributes, but there are no semantics defined to specify these values
Alternate Solution:
Instead of modifying the existing attribute, account information related to the topic can be included as an additional span attribute. However, it's important to note that there are currently no defined semantics for specifying the value. Something like ....
Suggested attribute: aws.account.id:12343441