Ensure that OpenTelemetry's OTEL_
environment variables are no-op
#4935
Labels
area/observability
Issues about metrics, logs, traces, pprof, etc
code/chore
Code maintenance improvements
not ready
Issues that are not ready to be worked on; PRs that should skip CI
What should be done?
We already have some code that explicitly passes all parameters to prevent the OTel SDK from reading default values from environment variables. We should check it and add the missing parameters.
Maybe we should
os.Unsetenv
allOTEL_
variables from the environment in someinit
function?https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/
We should also document that configuring OpenTelemetry via
OTEL_
variables is not supported.Where?
TBD
Definition of Done
TBD
The text was updated successfully, but these errors were encountered: