OpenTelemetry SDK
    Preparing search index...

    Class CompositePropagator

    Combines multiple propagators into a single propagator.

    Implements

    • TextMapPropagator
    Index
    • Run each of the configured propagators with the given context and carrier. Propagators are run in the order they are configured, so if multiple propagators write the same context key, the propagator later in the list will "win".

      Parameters

      • context: Context

        Context to add values to

      • carrier: unknown

        Carrier from which to extract context

      • getter: TextMapGetter

      Returns Context

    • Run each of the configured propagators with the given context and carrier. Propagators are run in the order they are configured, so if multiple propagators write the same carrier key, the propagator later in the list will "win".

      Parameters

      • context: Context

        Context to inject

      • carrier: unknown

        Carrier into which context will be injected

      • setter: TextMapSetter

      Returns void