Liking cljdoc? Tell your friends :D

steffan-westcott.clj-otel.api.baggage

Conversion and manipulation functions for io.opentelemetry.api.baggage.Baggage objects.

Conversion and manipulation functions for
`io.opentelemetry.api.baggage.Baggage` objects.
raw docstring

->baggageclj

(->baggage m)

Converts a map to a Baggage instance. Each key in the map is either a string or a keyword. Each value in the map is either value or a vector [value metadata], where value and metadata are strings.

Converts a map to a `Baggage` instance. Each key in the map is either a
string or a keyword. Each value in the map is either `value` or a vector
`[value metadata]`, where `value` and `metadata` are strings.
sourceraw docstring

->mapclj

(->map baggage)

Converts a Baggage instance to a map. Each key of the returned map is a string. Each value in the map is either value or a vector [value metadata], where value and metadata are strings.

Converts a `Baggage` instance to a map. Each key of the returned map is a
string. Each value in the map is either `value` or a vector
`[value metadata]`, where `value` and `metadata` are strings.
sourceraw docstring

assoc-baggageclj

(assoc-baggage context baggage)

Associates baggage with a context and returns the new context.

Associates baggage with a context and returns the new context.
sourceraw docstring

get-baggageclj

(get-baggage)
(get-baggage context)

Gets the baggage from a given context, or the current context if none is given. If no baggage is found in the context, empty baggage is returned.

Gets the baggage from a given context, or the current context if none is
given. If no baggage is found in the context, empty baggage is returned.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close