-
Notifications
You must be signed in to change notification settings - Fork 124
Description
The AWS Go SDK currently supports several resource detectors for third party computing environments. It would be useful if customers could enable select detectors in the agent's TracerProvider, via an environment variable, to automatically add environment-specific attributes to the telemetry.
PHP instrumentation has a similar mechanism, see here.
Describe the solution you'd like
When auto-instrumentation is started it determines what resource detector to run based on configuration it is provided (i.e environment variables, configuration file).
To accomplish this, the autodetect
package should be used.
Describe alternatives you've considered
- Write our own
autodetect
package (i.e. feat: support resource detector auto-configuration with OTEL_GO_DETECTORS env var #2438)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request