UNPKG

552 BTypeScriptView Raw
1import { Context, TextMapGetter, TextMapPropagator, TextMapSetter } from '@opentelemetry/api';
2/**
3 * Propagates {@link Baggage} through Context format propagation.
4 *
5 * Based on the Baggage specification:
6 * https://w3c.github.io/baggage/
7 */
8export declare class W3CBaggagePropagator implements TextMapPropagator {
9 inject(context: Context, carrier: unknown, setter: TextMapSetter): void;
10 extract(context: Context, carrier: unknown, getter: TextMapGetter): Context;
11 fields(): string[];
12}
13//# sourceMappingURL=W3CBaggagePropagator.d.ts.map
\No newline at end of file