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

Struct counter

modules/generator/registry/counter.go:12–25  ·  modules/generator/registry/counter.go::counter

Source from the content-addressed store, hash-verified

10)
11
12type counter struct {
13 //nolint unused
14 metric
15 metricName string
16
17 // seriesMtx is used to sync modifications to the map, not to the data in series
18 seriesMtx sync.RWMutex
19 series map[uint64]*counterSeries
20 seriesDemand *Cardinality
21
22 lifecycler Limiter
23
24 externalLabels map[string]string
25}
26
27type counterSeries struct {
28 labels labels.Labels

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected