Documentation ¶
Index ¶
Constants ¶
View Source
const ( XTraceHdr = "X-Trace" XTraceOptsRespHdr = "X-Trace-Options-Response" )
Variables ¶
This section is empty.
Functions ¶
func NewBaseHandler ¶
NewBaseHandler wraps a handler with our instrumentation. It is expected to wrap or be wrapped by `otelhttp` instrumentation (see WrapBaseHandler).
func WrapBaseHandler ¶
WrapBaseHandler wraps a handler with our instrumentation, as well as otelhttp instrumentation. It is intended for use with the base handler as provided to a mux. Individual route handlers should use `otelhttp.WithRouteTag` instead.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.