OpenTracing functionality compatible with clj-newrelic.
OpenTracing functionality compatible with [clj-newrelic]. [clj-newrelic]: https://github.com/TheClimateCorporation/clj-newrelic
(defn-traced & args)
Like defn
, but wraps the function body in an OpenTracing span that mimics
the default behavior of the clj-newrelic
defn-traced
macro.
Nesting calls to defn-traced
works similarly to the default behavior of the
defn-traced
macro that it replaces: nested spans will be set as children of
unfinished spans.
This macro is a transitional drop-in replacement for defn-traced
, so if you
need more control over the tracing behavior you should manipulate spans
directly.
Like `defn`, but wraps the function body in an OpenTracing span that mimics the default behavior of the `clj-newrelic` `defn-traced` macro. Nesting calls to `defn-traced` works similarly to the default behavior of the `defn-traced` macro that it replaces: nested spans will be set as children of unfinished spans. This macro is a transitional drop-in replacement for `defn-traced`, so if you need more control over the tracing behavior you should manipulate spans directly.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close