TextMapSetter that writes propagation values to an environment map.
EnvironmentSetter mutates only the environment map supplied to the
constructor and never writes to process.env. Pass undefined as the
carrier when using this setter with a TextMapPropagator.
Propagator keys are normalized before storing their opaque string values. If
multiple keys normalize to the same environment variable name, the latest
value written to the map is retained.
TextMapSetter that writes propagation values to an environment map.
EnvironmentSettermutates only the environment map supplied to the constructor and never writes toprocess.env. Passundefinedas the carrier when using this setter with aTextMapPropagator.Propagator keys are normalized before storing their opaque string values. If multiple keys normalize to the same environment variable name, the latest value written to the map is retained.
See
https://opentelemetry.io/docs/specs/otel/context/env-carriers/