pub struct PrometheusMetrics { /* private fields */ }Expand description
Prometheus adapter backed by the official prometheus crate.
Each instance owns a dedicated registry, with no global registration or
listener. Serve Self::encode from an application-owned metrics endpoint.
Counters use the exporter’s _total suffix; recorder names stay unchanged.
Implementations§
Trait Implementations§
Source§impl Debug for PrometheusMetrics
impl Debug for PrometheusMetrics
Source§impl MetricsRecorder for PrometheusMetrics
impl MetricsRecorder for PrometheusMetrics
Auto Trait Implementations§
impl Freeze for PrometheusMetrics
impl !RefUnwindSafe for PrometheusMetrics
impl Send for PrometheusMetrics
impl Sync for PrometheusMetrics
impl Unpin for PrometheusMetrics
impl !UnwindSafe for PrometheusMetrics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more