Struct metrics_exporter_prometheus::PrometheusHandle [−][src]
pub struct PrometheusHandle { /* fields omitted */ }
Expand description
Handle to PrometheusRecorder
.
Useful for exposing a scrape endpoint on an existing HTTP/HTTPS server.
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PrometheusHandle
impl Send for PrometheusHandle
impl Sync for PrometheusHandle
impl Unpin for PrometheusHandle
impl !UnwindSafe for PrometheusHandle
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more