Create a new Baggage with optional entries
Optional
entries: Record<string, @opentelemetry/api.BaggageEntry>An array of baggage entries the new baggage should contain
Delete the baggage stored in the given context
Retrieve the current baggage from the active/current context
Extracted baggage from the context
Retrieve the current baggage from the given context
Extracted baggage from the context
Store a baggage in the given context
that will be set in the actual context
Remove the global propagator
Extract context from a carrier
Context which the newly created context will inherit from
Carrier to extract context from
Optional
getter: @opentelemetry/api.TextMapGetter<Carrier>Function used to extract keys from a carrier
Return a list of all fields which may be used by the propagator.
Inject context into a carrier to be propagated inter-process
Context carrying tracing data to inject
carrier to inject context into
Optional
setter: @opentelemetry/api.TextMapSetter<Carrier>Function used to set values on the carrier
Set the current propagator.
true if the propagator was successfully registered, else false
Static
getGet the singleton instance of the Propagator API
Singleton object which represents the entry point to the OpenTelemetry Propagation API
Since
1.0.0