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

Function ctrVal

pkg/hedgedmetrics/metrics_test.go:102–109  ·  view source on GitHub ↗
(t *testing.T, ctr prometheus.Counter)

Source from the content-addressed store, hash-verified

100}
101
102func ctrVal(t *testing.T, ctr prometheus.Counter) float64 {
103 t.Helper()
104
105 val, err := test.GetCounterValue(ctr)
106 require.NoError(t, err)
107
108 return val
109}

Callers 2

TestDiffCounterFunction · 0.85
TestPublishFunction · 0.85

Calls 1

GetCounterValueFunction · 0.92

Tested by

no test coverage detected