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

Interface ObserverVec

prometheus/observer.go:43–52  ·  prometheus/observer.go::ObserverVec

ObserverVec is an interface implemented by `HistogramVec` and `SummaryVec`.

Source from the content-addressed store, hash-verified

41
42// ObserverVec is an interface implemented by `HistogramVec` and `SummaryVec`.
43type ObserverVec interface {
44 GetMetricWith(Labels) (Observer, error)
45 GetMetricWithLabelValues(lvs ...string) (Observer, error)
46 With(Labels) Observer
47 WithLabelValues(...string) Observer
48 CurryWith(Labels) (ObserverVec, error)
49 MustCurryWith(Labels) ObserverVec
50
51 Collector
52}
53
54// ExemplarObserver is implemented by Observers that offer the option of
55// observing a value together with an exemplar. Its ObserveWithExemplar method

Callers 1

TestLabelCheckFunction · 0.92

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

no test coverage detected