@opentelemetry/baggage-span-processor
Version:
OpenTelemetry Baggage Span Processor for Node.js
10 lines • 365 B
TypeScript
/**
* A function that determines whether a baggage key-value pair should be added to new
* spans as a span attribute.
*/
export type BaggageKeyPredicate = (baggageKey: string) => boolean;
/**
* A {@link BaggageKeyPredicate} that includes all baggage keys.
*/
export declare const ALLOW_ALL_BAGGAGE_KEYS: BaggageKeyPredicate;
//# sourceMappingURL=types.d.ts.map