diff --git a/api/server/metrics.py b/api/server/metrics.py index 287ef24..653ff12 100644 --- a/api/server/metrics.py +++ b/api/server/metrics.py @@ -112,7 +112,7 @@ def refresh_prom_metrics(): for hostname in (result or {}): for queue in result[hostname]: routing_key = queue.get("routing_key") - *_, namespace, queue = routing_key + *_, namespace, queue = routing_key.split(".") version = ".".join(_) tally[(version, namespace, queue)] += 1