Provide specification for cloud-provider-specific resource attributes #1098
Labels
area:semantic-conventions
Related to semantic conventions
priority:p3
Lowest priority level
release:allowed-for-ga
Editorial changes that can still be added before GA since they don't require action by SIGs
spec:resource
Related to the specification/resource directory
What are you trying to achieve?
The current resource specs define a broad range of useful attributes that exist for certain types of compute infrastructure regardless of the who provides it, like
container.id
orfaas.name
. However there are many other attributes that OpenTelemetry users would appreciate having in their spans which are specific to the cloud/infrastructure provider. For example, AWS Elastic Container Service (ECS) has metadata related to its "tasks" and "launch type" that do not fit neatly into the existing generic attributes.In order to record these resource attributes in a consistent way across SDKs and the collector, I think their semantic conventions should live here in the OTel spec for resources under a subdirectory like
cloud_provider
indicating these attributes are only present in a specified provider's resource. For example,cloud_provider/azure
could host specific attributes about Azure Functions,cloud_provider/aws
could host specific attributes about ECS, etc.To avoid bloat, we can constrain the core spec to only contain provider-specific resources from the supported
cloud_provider
s, which are currentlyaws
,gcp
, andazure
.Additional context.
This is related to #968, except this issue is about vendor-specific resource semantic convention as opposed to those for instrumentation. I will be following up with a PR that proposes a solution shortly. Always open to feedback here and on the PR when open.
The text was updated successfully, but these errors were encountered: