Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grafana/tempo
/ Inc
Method
Inc
pkg/usagestats/stats.go:356–358 ·
view source on GitHub ↗
(i int64)
Source
from the content-addressed store, hash-verified
354
}
355
356
func
(c *Counter) Inc(i int64) {
357
c.total.Add(i)
358
}
359
360
func
(c *Counter) String() string {
361
b, _ := json.Marshal(c.Value())
Callers
1
TestCounter
Function · 0.95
Implementers
6
counter
modules/generator/registry/counter.go
testCounter
modules/generator/registry/test.go
testGauge
modules/generator/registry/test.go
gauge
modules/generator/registry/gauge.go
bucket
modules/distributor/usage/tracker.go
Counter
pkg/usagestats/stats.go
Calls
1
Add
Method · 0.65
Tested by
1
TestCounter
Function · 0.76