OpenTelemetry SDK
    Preparing search index...

    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.

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • 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.

      Parameters

      • _carrier: void

        object or class which carries key/value pairs

      • key: string

        string key to modify

      • value: string

        value to be set to the key on the carrier

      Returns void