Pārlūkot izejas kodu

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>
tags/v1.89.0rc1
Will Lewis pirms 10 mēnešiem
committed by GitHub
vecāks
revīzija
835174180b
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 4AEE18F83AFDEB23
2 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. +1
    -0
      changelog.d/15957.bugfix
  2. +1
    -1
      contrib/grafana/synapse.json

+ 1
- 0
changelog.d/15957.bugfix Parādīt failu

@@ -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.

+ 1
- 1
contrib/grafana/synapse.json Parādīt failu

@@ -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}}"


Notiek ielāde…
Atcelt
Saglabāt