From 9dfb6ade31ac69297feddcf963da4eda1200820c Mon Sep 17 00:00:00 2001 From: Gerard Segarra Date: Fri, 26 Apr 2024 10:47:46 +0200 Subject: [PATCH] Fix metric name --- src/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.py b/src/app.py index b6a7bf3..80b21f3 100644 --- a/src/app.py +++ b/src/app.py @@ -152,7 +152,7 @@ def monitor_queued_jobs(): details = extract_jobs_metrics_from_data(jobs_data, node_ids) for job in details: - statsd.histogram('midokura.github-runners.jobs.seconds_in_queue.histogram', + statsd.histogram('midokura.github_runners.jobs.seconds_in_queue.histogram', job["seconds_in_queue"], tags=["environment:dev", f"job:{job['job_name']}"])