pub trait Collector: Sync + Send {
    fn desc(&self) -> Vec<&Desc>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
    A: Allocator
;
fn collect(&self) -> Vec<MetricFamily>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
    A: Allocator
; }
Expand description

An interface for collecting metrics.

Required methods

Return descriptors for metrics.

Collect metrics.

Implementors