opentelemetry-dotnet-instrumentation
opentelemetry-dotnet-instrumentation copied to clipboard
Proposal: Support well known resource detectors
What
Support well known resource detectors automatically.
List:
[^1]: Seems this package has mixed up instrumentations and resources? Could be worth checking before implementing.
I think that the user can get these resources using the OTel Collector. I am not sure if we need to have it in auto-instrumentation (more dependencies, bigger package, more maintenance).
AWS packages are subject to change under contrib repository (including renaming). If we need only part of this, we could probably extract resource package.
SIG meeting:
- Needs to be configurable similar to what is done for instrumentations (fine and coarse level control)
- Short run: add "low dependencies" detector: docker first and AZ when package is ready
- Medium term: decide about how to support more complex packages (e.g.: AWS)
For now, we supporting following resource detectors:
AZUREAPPSERVICECONTAINERHOSTPROCESSPROCESSRUNTIME.
If there is a needs for others, please create separate issue/PR. Closing.