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

Method Value

pkg/usagestats/stats.go:365–370  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

363}
364
365func (c *Counter) Value() map[string]interface{} {
366 return map[string]interface{}{
367 "total": c.total.Load(),
368 "rate": c.rate.Load(),
369 }
370}
371
372type WordCounter struct {
373 words sync.Map

Callers 5

TestCounterFunction · 0.95
StringMethod · 0.95
BuildStatsFunction · 0.45
buildMetricsFunction · 0.45

Implementers 6

countermodules/generator/registry/counter.go
testCountermodules/generator/registry/test.go
testGaugemodules/generator/registry/test.go
gaugemodules/generator/registry/gauge.go
bucketmodules/distributor/usage/tracker.go
Counterpkg/usagestats/stats.go

Calls

no outgoing calls

Tested by 1

TestCounterFunction · 0.76