From f0c5a8bf3536841ca5e24f1941fbbab0041c746a Mon Sep 17 00:00:00 2001 From: "Amanda H. L. de Andrade Katz" Date: Thu, 14 Nov 2024 11:54:59 -0300 Subject: [PATCH] fix: fix synapse units panel (#588) --- src/grafana_dashboards/synapse.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grafana_dashboards/synapse.json b/src/grafana_dashboards/synapse.json index d8029dc1..3349dfed 100644 --- a/src/grafana_dashboards/synapse.json +++ b/src/grafana_dashboards/synapse.json @@ -926,7 +926,7 @@ "uid": "${prometheusds}" }, "editorMode": "code", - "expr": "count_values(\"juju_unit\", up{juju_application=\"synapse\"}) by (juju_model)", + "expr": "count(up{juju_application=\"synapse\", job=~\".*prometheus_scrape_synapse_application.*\", juju_model=~\"$juju_model\"}) by (juju_model)", "legendFormat": "{{juju_model}}", "range": true, "refId": "A"