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

Method WithLabelValues

prometheus/observer.go:47–47  ·  view source on GitHub ↗
(...string)

Source from the content-addressed store, hash-verified

45 GetMetricWithLabelValues(lvs ...string) (Observer, error)
46 With(Labels) Observer
47 WithLabelValues(...string) Observer
48 CurryWith(Labels) (ObserverVec, error)
49 MustCurryWith(Labels) ObserverVec
50

Callers 11

TestTimerByOutcomeFunction · 0.65
handlerFunction · 0.65
testDeletePartialMatchFunction · 0.65
testMetricVecFunction · 0.65
testConstrainedMetricVecFunction · 0.65
testCurryVecFunction · 0.65
testConstrainedCurryVecFunction · 0.65
HandlerForTransactionalFunction · 0.65
mainFunction · 0.65

Implementers 5

CounterVecprometheus/counter.go
InfoVecprometheus/example_metricvec_test.go
HistogramVecprometheus/histogram.go
SummaryVecprometheus/summary.go
GaugeVecprometheus/gauge.go

Calls

no outgoing calls

Tested by 9

TestTimerByOutcomeFunction · 0.52
handlerFunction · 0.52
testDeletePartialMatchFunction · 0.52
testMetricVecFunction · 0.52
testConstrainedMetricVecFunction · 0.52
testCurryVecFunction · 0.52
testConstrainedCurryVecFunction · 0.52