Type Definition prometheus::GaugeVec [] [src]

type GaugeVec = MetricVec<GaugeVecBuilder>;

GaugeVec is a Collector that bundles a set of Gauges 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. number of operations queued, partitioned by user and operation type).

Methods

impl GaugeVec
[src]

[src]

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