Add Resource type to Tracing API #39
Labels
1 - triaged
Task makes sense, is well defined, and is ready to be worked on
t:otel-spec
Open Telemetry spec related
Milestone
OpenTelemetry defines a
Resource
as part of its spec: https://github.com/open-telemetry/opentelemetry-specification/blob/v0.7.0/specification/resource/sdk.mdA resource is passed along when sending spans to the Otel collector.
Resources also have attributes with semantic conventions similar to spans: https://github.com/open-telemetry/opentelemetry-specification/blob/v0.7.0/specification/resource/semantic_conventions/README.md
It might be a good idea to expose the resource API as well as part of the
Tracing
library, but as the resources (e.g. which cloud provider the app is running on or whether it's running in a Docker container) are usually unknown to frameworks and instead known by the application developer, this API could also live in a specific tracer implementation.The text was updated successfully, but these errors were encountered: