Conversion functions between maps and
io.opentelemetry.api.common.Attributes
objects.
Conversion functions between maps and `io.opentelemetry.api.common.Attributes` objects.
(->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.
(->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.
Function that returns a namespace qualified attribute name. May be
overridden using set-attribute-name-fn!
.
Function that returns a namespace qualified attribute name. May be overridden using [[set-attribute-name-fn!]].
(set-attribute-name-fn! f)
Sets function for setting attribute names. See default function
steffan-westcott.clj-otel.util/qualified-name
.
Sets function for setting attribute names. See default function `steffan-westcott.clj-otel.util/qualified-name`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close