(t *testing.T, ctr prometheus.Counter)
| 100 | } |
| 101 | |
| 102 | func 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 | } |
no test coverage detected