OpenTelemetry SDK
    Preparing search index...

    A getter is specified by the caller to define a specific method to get the value of a key from a carrier.

    1.0.0

    interface TextMapGetter<Carrier = any> {
        get(carrier: Carrier, key: string): string | string[] | undefined;
        keys(carrier: Carrier): string[];
    }

    Type Parameters

    • Carrier = any
    Index

    Methods

    Methods

    • Get the value of a specific key from the carrier.

      Parameters

      Returns string | string[] | undefined

    • Get a list of all keys available on the carrier.

      Parameters

      Returns string[]