MCPcopy
hub / github.com/grafana/tempo / collectMetrics

Method collectMetrics

modules/generator/registry/registry.go:75–75  ·  view source on GitHub ↗
(appender storage.Appender, timeMs int64)

Source from the content-addressed store, hash-verified

73type metric interface {
74 name() string
75 collectMetrics(appender storage.Appender, timeMs int64) error
76 countActiveSeries() int
77 // countSeriesDemand estimates the number of active series that would be created if the maxActiveSeries were unlimited.
78 countSeriesDemand() int

Implementers 7

countermodules/generator/registry/counter.go
testCountermodules/generator/registry/test.go
testGaugemodules/generator/registry/test.go
testHistogrammodules/generator/registry/test.go
histogrammodules/generator/registry/histogram.g
nativeHistogrammodules/generator/registry/native_hist
gaugemodules/generator/registry/gauge.go

Calls

no outgoing calls