Liking cljdoc? Tell your friends :D

io.pedestal.http.tracing

HTTP request tracing based on Open Telemetry.

HTTP request tracing based on Open Telemetry.
raw docstring

mark-routedclj

(mark-routed context route-name)
(mark-routed context route-name path)

Marks the currently active span as routed, using route-name as the name of the route and path. Does nothing if there is no span in the context.

The path defaults to the :uri of the request.

Returns the context.

Marks the currently active span as routed, using route-name as the
name of the route  and path.  Does nothing if there is no span in the context.

The path defaults to the :uri of the request.

Returns the context.
sourceraw docstring

request-tracing-interceptorclj

(request-tracing-interceptor)

A tracing interceptor traces the execution of the request. When the request is successfully routed, the trace will identify the HTTP route and route name.

This interceptor should come first (or at least, early) in the incoming pipeline to ensure that all execution time is accounted for. This is less important when the OpenTelemetry Java agent is in use, at that captures the overall request processing time, from start to finish, more accurately.

A tracing interceptor traces the execution of the request.  When the request is
successfully routed, the trace will identify the HTTP route and route name.

This interceptor should come first (or at least, early) in the incoming pipeline to ensure
that all execution time is accounted for.  This is less important when the OpenTelemetry Java agent is
in use, at that captures the overall request processing time, from start to finish, more accurately.
sourceraw docstring

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

× close