Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fixed grafana deploy annotations in the dashboard config, so it shows…
Browse files Browse the repository at this point in the history
… for those not managing matrix.org (#15957)

Removed the 'matrix.org' hardcorded instance setting

Originally introduced in #15674

Co-authored-by: wrjlewis <[email protected]>
  • Loading branch information
wrjlewis and wrjlewis committed Jul 20, 2023
1 parent fd44053 commit 8351741
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/15957.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed deploy annotations in the provided Grafana dashboard config, so that it shows for any homeserver and not just matrix.org. Contributed by @wrjlewis.
2 changes: 1 addition & 1 deletion contrib/grafana/synapse.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"
Expand Down

0 comments on commit 8351741

Please sign in to comment.