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

Method String

pkg/usagestats/stats.go:360–363  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

358}
359
360func (c *Counter) String() string {
361 b, _ := json.Marshal(c.Value())
362 return string(b)
363}
364
365func (c *Counter) Value() map[string]interface{} {
366 return map[string]interface{}{

Callers 10

Test_BuildReportFunction · 0.45
buildMetricsFunction · 0.45
ParseProtoReaderFunction · 0.45
decompressFromBufferFunction · 0.45
TabOutFunction · 0.45
TraceIDToHexStringFunction · 0.45
SpanIDToHexStringFunction · 0.45
InitLoggerFunction · 0.45
LogMethod · 0.45
ExtractTraceIDFunction · 0.45

Implementers 6

countermodules/generator/registry/counter.go
testCountermodules/generator/registry/test.go
testGaugemodules/generator/registry/test.go
gaugemodules/generator/registry/gauge.go
bucketmodules/distributor/usage/tracker.go
Counterpkg/usagestats/stats.go

Calls 2

ValueMethod · 0.95
MarshalMethod · 0.65

Tested by 1

Test_BuildReportFunction · 0.36