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

Struct Counter

pkg/usagestats/stats.go:319–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317}
318
319type Counter struct {
320 total *atomic.Int64
321 rate *atomic.Float64
322
323 resetTime time.Time
324}
325
326// NewCounter returns a new Counter stats object.
327// If a Counter stats object with the same name already exists it is returned.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected