Liking cljdoc? Tell your friends :D

nha.opentelemetry.trace.span


add-eventclj

(add-event sp s)
(add-event sp s attrs)

closeableclj

(closeable o close-fn)

current-spanclj

(current-span)

ex-endclj

(ex-end sp ex)

from-ctxclj

(from-ctx ctx)

happy-endclj

(happy-end sp)

no-opclj

(no-op)
(no-op s)

private-fieldclj

(private-field class field-name obj)

https://github.com/arohner/clj-wallhack/blob/master/src/wall/hack.clj Access to private or protected field. field-name must be something Named class - the class where the field is declared field-name - Named obj - the instance object, or a Class for static fields

https://github.com/arohner/clj-wallhack/blob/master/src/wall/hack.clj
Access to private or protected field. field-name must be something Named
 class - the class where the field is declared
 field-name - Named
 obj - the instance object, or a Class for static fields
raw docstring

set-attributeclj

(set-attribute sp k v)

spanclj

(span s)
(span tracer s)
(span tracer
      s
      {:keys [parent-ctx parent-span root-span? links links+attrs attrs
              span-data span-kind start-ts-value start-timeout-unit
              start-ts-instant start-span? current-span?]
       :or {start-span? true current-span? true}})

helper for making Span

helper for making Span
raw docstring

span?clj

(span? x)

with-open-asynccljmacro

(with-open-async bindings & body)

like with-open but supports async bodies. It waits until the body is realized before closing the bindings

like with-open but supports async bodies.
It waits until the body is realized before closing the bindings
raw docstring

with-scopecljmacro

(with-scope)

puts a Span in scope of the current Thread then there is no need to pass the parent explicitly TODO think about the relationship with clojure bindings

puts a Span in scope of the current Thread
then there is no need to pass the parent explicitly
TODO think about the relationship with clojure *bindings*
raw docstring

with-spancljmacro

(with-span bindings & body)

(TODO optional) second binding: a deferrable containing the Status. ex (vreset! (status :ok "Things went well")) - good practice is to have ONE status per function and it matches the return value places/pattern

(TODO optional) second binding: a deferrable containing the Status. ex (vreset! (status :ok "Things went well")) - good practice is to have ONE status per function and it matches the return value places/pattern
raw docstring

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

× close