Callback used to set a key/value pair on an object.
Should be called by the propagator each time a key/value pair should be set, and should set that key/value pair on the propagator.
object or class which carries key/value pairs
string key to modify
value to be set to the key on the carrier
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/