From 699569249aa5e95ad9645986d72d43b83e1ce4ec Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Tue, 20 Jun 2023 14:01:44 +0200 Subject: [PATCH] ildkule: adjust matrix version annotations for nixos matrix module --- hosts/ildkule/services/metrics/dashboards/synapse.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/ildkule/services/metrics/dashboards/synapse.json b/hosts/ildkule/services/metrics/dashboards/synapse.json index f8a46d4..0c61a16 100644 --- a/hosts/ildkule/services/metrics/dashboards/synapse.json +++ b/hosts/ildkule/services/metrics/dashboards/synapse.json @@ -63,7 +63,7 @@ "uid": "${datasource}" }, "enable": true, - "expr": "changes(process_start_time_seconds{instance=\"matrix.org\",job=~\"synapse\"}[$bucket_size]) * on (instance, job) group_left(version) synapse_build_info{instance=\"matrix.org\",job=\"synapse\"}", + "expr": "changes(process_start_time_seconds{instance=\"$instance\",job=~\"master\"}[$bucket_size]) * on (instance, job) group_left(version) synapse_build_info{instance=\"$instance\",job=\"master\"}", "iconColor": "purple", "name": "deploys", "titleFormat": "Deployed {{version}}" @@ -761,7 +761,7 @@ "uid": "${datasource}" }, "editorMode": "code", - "expr": "synapse_build_info{instance=\"$instance\", job=\"synapse\"} - 1", + "expr": "synapse_build_info{instance=\"$instance\", job=\"master\"} - 1", "legendFormat": "version {{version}}", "range": true, "refId": "deployed_synapse_versions"