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

Struct HistogramVec

prometheus/histogram.go:1173–1175  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1171// (e.g. HTTP request latencies, partitioned by status code and method). Create
1172// instances with NewHistogramVec.
1173type HistogramVec struct {
1174 *MetricVec
1175}
1176
1177// NewHistogramVec creates a new HistogramVec based on the provided HistogramOpts and
1178// partitioned by the given label names.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected