Conversion and manipulation functions for
io.opentelemetry.api.baggage.Baggage objects.
Conversion and manipulation functions for `io.opentelemetry.api.baggage.Baggage` objects.
(->baggage m)Converts a map to a Baggage instance. Each key in the map is either a
string or 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 keyword. Each value in the map is either `value` or a vector `[value metadata]`, where `value` and `metadata` are strings.
(->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.
(assoc-baggage context baggage)Associates baggage with a context and returns the new context.
Associates baggage with a context and returns the new context.
(get-baggage)(get-baggage context)Gets the baggage from a given context, or the bound ot 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 bound ot current context if none is given. If no baggage is found in the context, empty baggage is returned.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |