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

Function NewMetricsCollector

pkg/collector/metrics_collector.go:14–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12}
13
14func NewMetricsCollector() *MetricsCollector {
15 return &MetricsCollector{
16 totalValue: atomic.NewUint64(0),
17 }
18}
19
20// Add adds new bytes read to TotalValue. this method is thread safe and
21// satisfies the common.MetricsCallback type so it's used as callback at a lot of places

Callers 15

SearchTagsMethod · 0.92
SearchTagValuesMethod · 0.92
SearchTagValuesV2Method · 0.92
tagValuesRunnerFunction · 0.92
tagNamesRunnerFunction · 0.92
TestFetchTagNamesFunction · 0.92

Calls

no outgoing calls