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

Method String

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

Source from the content-addressed store, hash-verified

252}
253
254func (s *Statistics) String() string {
255 b, _ := json.Marshal(s.Value())
256 return string(b)
257}
258
259func (s *Statistics) Value() map[string]interface{} {
260 stdvar := s.value.Load() / float64(s.count.Load())

Callers

nothing calls this directly

Calls 2

ValueMethod · 0.95
MarshalMethod · 0.65

Tested by

no test coverage detected