Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grafana/tempo
/ NewCounter
Method
NewCounter
modules/generator/registry/test.go:32–37 ·
view source on GitHub ↗
(name string)
Source
from the content-addressed store, hash-verified
30
}
31
32
func
(t *TestRegistry) NewCounter(name string) Counter {
33
return
&testCounter{
34
n: name,
35
registry: t,
36
}
37
}
38
39
func
(t *TestRegistry) NewGauge(name string) Gauge {
40
return
&testGauge{
Callers
1
TestTestRegistry_counter
Function · 0.95
Calls
no outgoing calls
Tested by
1
TestTestRegistry_counter
Function · 0.76