pub struct PrometheusMetricsBackend { /* private fields */ }Available on crate features
plugins and metrics-prometheus only.Expand description
Basic Prometheus metrics backend that tracks HTTP request counts and connection counts using labels for method, path, and status.
Implementations§
Auto Trait Implementations§
impl Freeze for PrometheusMetricsBackend
impl !RefUnwindSafe for PrometheusMetricsBackend
impl Send for PrometheusMetricsBackend
impl Sync for PrometheusMetricsBackend
impl Unpin for PrometheusMetricsBackend
impl !UnwindSafe for PrometheusMetricsBackend
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