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

Struct histogram

modules/generator/registry/histogram.go:19–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17var _ metric = (*histogram)(nil)
18
19type histogram struct {
20 metricName string
21 nameCount string
22 nameSum string
23 nameBucket string
24 buckets []float64
25 bucketLabels []string
26 externalLabels map[string]string
27
28 seriesMtx sync.Mutex
29 series map[uint64]*histogramSeries
30 seriesDemand *Cardinality
31
32 lifecycler Limiter
33
34 traceIDLabelName string
35}
36
37type histogramSeries struct {
38 countLabels labels.Labels

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected