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

Method name

modules/generator/registry/registry.go:74–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72// metric is the interface for a metric that is managed by ManagedRegistry.
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.

Callers 1

registerMetricMethod · 0.65

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

Tested by

no test coverage detected