-
Notifications
You must be signed in to change notification settings - Fork 739
Description
Before opening a feature request against this repo, consider whether the feature should/could be implemented in the other OpenTelemetry client libraries. If so, please open an issue on opentelemetry-specification first.
Is your feature request related to a problem?
ContainerResourceDetectors and KubernetesResourceDetectors are being developed as a part of contrib repo. (issue).
So some changes are required at SDK level to load all the ResourceDetectors if installed (just like instrumentors)
Describe the solution you'd like
Load all ResourceDetectors installed
Describe alternatives you've considered
Specifying an ResourceDetector via ENV variable is possible. The issue is in pending state in specification repo (issue)
Additional context
Just like instrumentors, all installed ResourceDetectors should be loaded when the application starts and it will automatically fetch the resources and add it to spans.
ContainerResourceDetectors and KubernetesResourceDetectors are being developed as a part of contrib repo. once loaded they will fetch the container.id and pod.id respectively and add them in span resource.
This will allow end user to correlate the service issue with container issue.