Skip to main content

instrument

Function instrument 

Source
pub fn instrument<T: ObjectSafeTracer + Send + Sync + 'static>(
    meter: impl Into<Metrics>,
    tracer: T,
) -> Instrument
Expand description

construct an Instrument with the provided meter and tracer