(wrap-tracing handler)(wrap-tracing handler name-foo)Ring middleware that wraps span tracing around a ring handler.
:handler the ring handler:name-foo a 1-arg function that takes the request and returns a string, used to figure out the operation name for
the span. A common example might be :uri, if your paths don't have variables in them.Ring middleware that wraps span tracing around a ring handler. - `:handler` the ring handler - `:name-foo` a 1-arg function that takes the request and returns a string, used to figure out the operation name for the span. A common example might be `:uri`, if your paths don't have variables in them.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |