-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add Resource type to Tracing API #39
Milestone
Comments
3 tasks
I'm leaving this as something we can add later, trying to figure out how to make a 1.0 soon |
selfish bump |
@wibed Thanks for the bump 🙏 Do you have a particular use case in mind for having the concept of resources in the library? |
id like to use resources as a cheap key:value store. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: