Liking cljdoc? Tell your friends :D
Clojure only.

steffan-westcott.clj-otel.api.attributes

Conversion functions between maps and io.opentelemetry.api.common.Attributes objects.

Conversion functions between maps and
`io.opentelemetry.api.common.Attributes` objects.
raw docstring

->attributesclj

(->attributes m)

Converts an attribute map to a Attributes instance. Each map key may be a keyword, string or AttributeKey instance. Each map value may be a boolean, long, double, string or a homogenous array of those types. Attributes with nil values are dropped.

Converts an attribute map to a `Attributes` instance. Each map key may be a
keyword, string or `AttributeKey` instance. Each map value may be a boolean,
long, double, string or a homogenous array of those types. Attributes with
`nil` values are dropped.
sourceraw docstring

->mapclj

(->map attributes)

Converts an Attributes instance to an attribute map. Each key of the returned map is a string.

Converts an `Attributes` instance to an attribute map. Each key of the
returned map is a string.
sourceraw docstring

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

× close