(t *testing.T, expected string, metric string)
| 371 | } |
| 372 | |
| 373 | func printValues(t *testing.T, expected string, metric string) e2e.GetMetricValueFunc { |
| 374 | return func(m *io_prometheus_client.Metric) float64 { |
| 375 | v := e2e.DefaultMetricsOptions.GetValue(m) |
| 376 | t.Logf("metric %q: label %q: current %f, expected %s", metric, m.GetLabel()[0].GetValue(), v, expected) |
| 377 | return v |
| 378 | } |
| 379 | } |
| 380 | |
| 381 | func printMetricValue(t *testing.T, expectedValue string, metric string) e2e.MetricsOption { |
| 382 | return func(opts *e2e.MetricsOptions) { |
no test coverage detected