Liking cljdoc? Tell your friends :D
Clojure only.

democracyworks.opentracing.compat

OpenTracing functionality compatible with clj-newrelic.

OpenTracing functionality compatible with [clj-newrelic].

[clj-newrelic]: https://github.com/TheClimateCorporation/clj-newrelic
raw docstring

defn-tracedcljmacro

(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.
sourceraw docstring

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

× close