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

Method countSeriesDemand

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

Source from the content-addressed store, hash-verified

165}
166
167func (c *counter) countSeriesDemand() int {
168 c.seriesMtx.RLock()
169 defer c.seriesMtx.RUnlock()
170
171 return int(c.seriesDemand.Estimate())
172}
173
174func (c *counter) removeStaleSeries(staleTimeMs int64) {
175 c.seriesMtx.Lock()

Callers

nothing calls this directly

Calls 1

EstimateMethod · 0.80

Tested by

no test coverage detected