pub struct PrometheusRecorder { /* private fields */ }
Expand description
A Prometheus recorder.
This recorder should be composed with other recorders or installed globally via
metrics::set_boxed_recorder
.
Most users will not need to interact directly with the recorder, and can simply deal with the
builder methods on PrometheusBuilder
for building and installing
the recorder/exporter.
Implementations
Gets a PrometheusHandle
to this recorder.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PrometheusRecorder
impl Send for PrometheusRecorder
impl Sync for PrometheusRecorder
impl Unpin for PrometheusRecorder
impl !UnwindSafe for PrometheusRecorder
Blanket Implementations
Mutably borrows from an owned value. 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