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

Commit 51e7255

Browse files
authored
Fix the *MAU Limits* section of the Grafana dashboard relying on a specific job name for the workers of a Synapse deployment. (#14644)
1 parent 2920e54 commit 51e7255

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

changelog.d/14644.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix the *MAU Limits* section of the Grafana dashboard relying on a specific `job` name for the workers of a Synapse deployment.

contrib/grafana/synapse.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,8 +1008,7 @@
10081008
"mode": "absolute",
10091009
"steps": [
10101010
{
1011-
"color": "green",
1012-
"value": null
1011+
"color": "green"
10131012
},
10141013
{
10151014
"color": "red",
@@ -1681,8 +1680,7 @@
16811680
"mode": "absolute",
16821681
"steps": [
16831682
{
1684-
"color": "green",
1685-
"value": null
1683+
"color": "green"
16861684
},
16871685
{
16881686
"color": "red",
@@ -2533,8 +2531,7 @@
25332531
"mode": "absolute",
25342532
"steps": [
25352533
{
2536-
"color": "green",
2537-
"value": null
2534+
"color": "green"
25382535
},
25392536
{
25402537
"color": "red",
@@ -11296,7 +11293,7 @@
1129611293
"uid": "$datasource"
1129711294
},
1129811295
"editorMode": "code",
11299-
"expr": "synapse_admin_mau_max{instance=\"$instance\", job=~\"(hhs_)?synapse\"}",
11296+
"expr": "max(synapse_admin_mau_max{instance=\"$instance\"})",
1130011297
"format": "time_series",
1130111298
"interval": "",
1130211299
"intervalFactor": 1,
@@ -11310,7 +11307,7 @@
1131011307
"uid": "$datasource"
1131111308
},
1131211309
"editorMode": "code",
11313-
"expr": "synapse_admin_mau_current{instance=\"$instance\", job=~\"(hhs_)?synapse\"}",
11310+
"expr": "max(synapse_admin_mau_current{instance=\"$instance\"})",
1131411311
"hide": false,
1131511312
"legendFormat": "Current",
1131611313
"range": true,
@@ -12760,6 +12757,6 @@
1276012757
"timezone": "",
1276112758
"title": "Synapse",
1276212759
"uid": "000000012",
12763-
"version": 149,
12760+
"version": 150,
1276412761
"weekStart": ""
1276512762
}

0 commit comments

Comments
 (0)