summary refs log tree commit diff
path: root/contrib/grafana/synapse.json
diff options
context:
space:
mode:
authorWill Lewis <1543626+wrjlewis@users.noreply.github.com>2023-07-20 13:33:06 +0100
committerGitHub <noreply@github.com>2023-07-20 12:33:06 +0000
commit835174180b498a2ae7f3d014b5b190cc24d12eb7 (patch)
tree9aa78d63d1a003fd41bf09b78fa24be9fe80b548 /contrib/grafana/synapse.json
parentDon't log exceptions for every non-200 response (#15969) (diff)
downloadsynapse-835174180b498a2ae7f3d014b5b190cc24d12eb7.tar.xz
Fixed grafana deploy annotations in the dashboard config, so it shows for those not managing matrix.org (#15957)
Removed the 'matrix.org' hardcorded instance setting

Originally introduced in #15674

Co-authored-by: wrjlewis <will.lewis@askattest.com>
Diffstat (limited to 'contrib/grafana/synapse.json')
-rw-r--r--contrib/grafana/synapse.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/grafana/synapse.json b/contrib/grafana/synapse.json
index f3253b32b9..90f449aa76 100644
--- a/contrib/grafana/synapse.json
+++ b/contrib/grafana/synapse.json
@@ -63,7 +63,7 @@
           "uid": "${DS_PROMETHEUS}"
         },
         "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=~\"synapse\"}[$bucket_size]) * on (instance, job) group_left(version) synapse_build_info{instance=\"$instance\",job=\"synapse\"}",
         "iconColor": "purple",
         "name": "deploys",
         "titleFormat": "Deployed {{version}}"