MCPcopy
hub / github.com/prometheus/client_golang / GaugeVec

Struct GaugeVec

prometheus/gauge.go:146–148  ·  view source on GitHub ↗

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). Creat

Source from the content-addressed store, hash-verified

144// (e.g. number of operations queued, partitioned by user and operation
145// type). Create instances with NewGaugeVec.
146type GaugeVec struct {
147 *MetricVec
148}
149
150// NewGaugeVec creates a new GaugeVec based on the provided GaugeOpts and
151// partitioned by the given label names.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected