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

Struct gauge

modules/generator/registry/gauge.go:15–29  ·  modules/generator/registry/gauge.go::gauge

this is mostly copied from counter

Source from the content-addressed store, hash-verified

13
14// this is mostly copied from counter
15type gauge struct {
16 //nolint unused
17 metric
18
19 metricName string
20
21 // seriesMtx is used to sync modifications to the map, not to the data in series
22 seriesMtx sync.RWMutex
23 series map[uint64]*gaugeSeries
24 seriesDemand *Cardinality
25
26 lifecycler Limiter
27
28 externalLabels map[string]string
29}
30
31type gaugeSeries struct {
32 labels labels.Labels

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected