(global-tracer)
Returns the active global tracer.
Returns the active global tracer. * Can be overridden by using with-tracer.
(let-span span-name tag-bindings & body)
Denotes a block of code as a span. The tag-binding may include any values to be used for tags. The tag names will be available for use within the body.
Denotes a block of code as a span. The tag-binding may include any values to be used for tags. The tag names will be available for use within the body.
(log! map-or-message)
(log! span map-or-message)
Adds a log entry to either the provided span or the active span.
Adds a log entry to either the provided span or the active span.
(register-global-tracer! tracer)
Registers a tracer as the default global tracer.
Registers a tracer as the default global tracer.
(set-baggage-item! key value)
(set-baggage-item! span key value)
Sets a baggage item on the active span.
Sets a baggage item on the active span.
(set-tag! key value)
(set-tag! span key value)
Sets a tag on either the provided span or the active span.
Sets a tag on either the provided span or the active span.
(span span-name tag-map & body)
Denotes a block of code as a span. The tag-binding may include any values to be used for tags. The tag names will be available for use within the body.
Denotes a block of code as a span. The tag-binding may include any values to be used for tags. The tag names will be available for use within the body.
(with-tracer tracer & body)
Temporarily overrides the global-tracer.
Temporarily overrides the global-tracer.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close