(t testing.TB, metrics []*dto.MetricFamily, value float64, name string, labels ...string)
| 15 | ) |
| 16 | |
| 17 | func PromGaugeHasValue(t testing.TB, metrics []*dto.MetricFamily, value float64, name string, labels ...string) bool { |
| 18 | t.Helper() |
| 19 | return value == getValue(t, metrics, gaugeKind, name, labels...) |
| 20 | } |
| 21 | |
| 22 | func PromCounterHasValue(t testing.TB, metrics []*dto.MetricFamily, value float64, name string, labels ...string) bool { |
| 23 | t.Helper() |