Skip to content

Adding aws.region span attribute to the spec #1113

@Ma-Ba

Description

@Ma-Ba

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 and faas.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:

  • document aws.region in the spec as an existing legancy span attribute
  • introduce a more generic alternative such as cloud.invoked_region that fits client spans for multiple cloud platforms and SDK call types
  • deprecate faas.invoked_region in favor of the new more generic attribute

I am happy to create a PR after the discussion of this issue.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions