Skip to content

Commit

Permalink
Merge pull request Kuadrant#512 from jsmolar/jsmolar3
Browse files Browse the repository at this point in the history
Fixed parallel metrics tests
  • Loading branch information
jsmolar authored Aug 15, 2024
2 parents 95adf01 + eff6931 commit a6dca50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit a6dca50

Please sign in to comment.