Type Alias mz_ore::metrics::raw::HistogramVec

source ·
pub type HistogramVec = MetricVec<HistogramVecBuilder>;
Available on crate feature metrics only.
Expand description

A Collector that bundles a set of Histograms that all share the same Desc, but have different values for their variable labels. This is used if you want to count the same thing partitioned by various dimensions (e.g. HTTP request latencies, partitioned by status code and method).

Aliased Type§

struct HistogramVec { /* private fields */ }

Trait Implementations§

source§

impl HistogramVecExt for HistogramVec

source§

fn get_delete_on_drop_histogram<'a, L: PromLabelsExt<'a>>( &self, labels: L ) -> DeleteOnDropHistogram<'a, L>

Returns a counter that deletes its labels from this metrics vector when dropped. See DeleteOnDropCounter for a detailed description.
source§

impl MakeCollector for HistogramVec

source§

fn make_collector(mk_opts: MakeCollectorOpts) -> Self

Creates a new collector.