-
Notifications
You must be signed in to change notification settings - Fork 182
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
Adding aws.region span attribute to the spec #1113
Comments
invoked_region might not be the ideal name if we also want to use the attribute to e.g. record the region from which some FaaS invocation was triggered. Maybe cloud.peer_region or cloud.remote_region? |
We might also want to consider the (invoked/peer/remote) account_id here as a complement to the callers cloud.account_id, but that might be considered a separate issue. |
@jsuereth can this be added to open-telemetry/opentelemetry-specification#2753? |
I'm coming here from I would argue against documenting the current behaviour - aws.region is too similar to cloud.region and is incredibly confusing, especially for new users. I quite like the idea of having a cloud.peer_region attribute. Thank you |
We noticed that the AWS SDK instrumentation in various languages sets a (client) span attribute named
aws.region
which is currently not part of the spec.I found the following instrumenation libraries that set
aws.region
:Currently, the spec contains the
cloud.region
resource attribute intended for server-side spans andfaas.invoked_region
for client-side spans of FaaS invocations. The latter is therefore not suitable for e.g. calls to DynamoDB using the AWS SDK.I'd like to propose the following:
aws.region
in the spec as an existing legancy span attributecloud.invoked_region
that fits client spans for multiple cloud platforms and SDK call typesfaas.invoked_region
in favor of the new more generic attributeI am happy to create a PR after the discussion of this issue.
The text was updated successfully, but these errors were encountered: