diff --git a/testsuite/tests/singlecluster/authorino/metrics/conftest.py b/testsuite/tests/singlecluster/authorino/metrics/conftest.py index ed68a1c3..395960c4 100644 --- a/testsuite/tests/singlecluster/authorino/metrics/conftest.py +++ b/testsuite/tests/singlecluster/authorino/metrics/conftest.py @@ -40,7 +40,7 @@ def prometheus(cluster): @pytest.fixture(scope="package") def service_monitor(cluster, request, blame, authorino): """Create ServiceMonitor object to follow Authorino /metrics and /server-metrics endpoints""" - label = {"app": blame("monitoring")} + label = {"app": authorino.name() + "metrics"} authorino.metrics_service.label(label) endpoints = [MetricsEndpoint("/metrics", "http"), MetricsEndpoint("/server-metrics", "http")] monitor = ServiceMonitor.create_instance(