Type Definition prometheus::HistogramVec [] [src]

type HistogramVec = MetricVec<HistogramVecBuilder>;

HistogramVec is 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).

Methods

impl HistogramVec
[src]

[src]

new creates a new HistogramVec based on the provided HistogramOpts and partitioned by the given label names. At least one label name must be provided.

[src]