From 2a068a728dec7eb56647274ea7d05b0c26709dc6 Mon Sep 17 00:00:00 2001 From: Mlvn Date: Sat, 21 Nov 2026 11:38:57 +0300 Subject: [PATCH] fix: show logical bus depth and pending age --- infra/grafana/dashboards/messenger.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/infra/grafana/dashboards/messenger.json b/infra/grafana/dashboards/messenger.json index 289dfb4..66621d8 100644 --- a/infra/grafana/dashboards/messenger.json +++ b/infra/grafana/dashboards/messenger.json @@ -715,7 +715,7 @@ }, { "id": 26, - "title": "Broker stream length", + "title": "Bus logical queue depth", "type": "timeseries", "datasource": { "type": "prometheus", @@ -730,7 +730,7 @@ "targets": [ { "refId": "A", - "expr": "redis_stream_length{key=\"attachment.jobs.v1\"}" + "expr": "messenger_queue_depth" } ], "fieldConfig": { @@ -742,7 +742,7 @@ }, { "id": 27, - "title": "Broker pending messages", + "title": "Bus oldest pending job age", "type": "timeseries", "datasource": { "type": "prometheus", @@ -757,12 +757,12 @@ "targets": [ { "refId": "A", - "expr": "redis_stream_groups_consumer_pending_messages{key=\"attachment.jobs.v1\"}" + "expr": "messenger_queue_oldest_age_seconds" } ], "fieldConfig": { "defaults": { - "unit": "short" + "unit": "s" }, "overrides": [] }