Skip to main content

with_prometheus

Function with_prometheus 

Source
fn with_prometheus<R>(
    prometheus: PrometheusRecorder,
    other: Option<R>,
) -> Box<dyn Recorder + Sync>
where R: Recorder + Send + Sync + 'static,
Expand description

Returns the recorder that receives every metric: prometheus, and other beside it if it is provided.