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

Method SetStats

pkg/hedgedmetrics/metrics_test.go:63–68  ·  view source on GitHub ↗
(actual, requested uint64)

Source from the content-addressed store, hash-verified

61}
62
63func (m *MockStatsProvider) SetStats(actual, requested uint64) {
64 m.mu.Lock()
65 defer m.mu.Unlock()
66 m.actualRoundTrips = actual
67 m.requestedRoundTrips = requested
68}
69
70func TestPublish(t *testing.T) {
71 ctr := prometheus.NewCounter(prometheus.CounterOpts{Name: test.RandomString()})

Callers 1

TestPublishFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected