Function trillium_opentelemetry::global::instrument_handler
source ยท pub fn instrument_handler<H>(handler: H) -> InstrumentHandler<H, BoxedTracer>where
H: Handler,
Expand description
the primary entrypoint for decorating a handler.
Uses a global tracer with the name "trillium-opentelemetry"
IMPORTANT This handler expects crate::Trace
or crate::Instrument
to have been run on
the conn prior to running this handler.