Fix the *MAU Limits* section of the Grafana dashboard relying on a specific `job` name for the workers of a Synapse deployment. (#14644)

pull/14674/head
reivilibre 2022-12-13 14:19:43 +00:00 committed by GitHub
parent 2920e540bf
commit 51e7255fbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 9 deletions

1
changelog.d/14644.bugfix Normal file
View File

@ -0,0 +1 @@
Fix the *MAU Limits* section of the Grafana dashboard relying on a specific `job` name for the workers of a Synapse deployment.

View File

@ -1008,8 +1008,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -1681,8 +1680,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -2533,8 +2531,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -11296,7 +11293,7 @@
"uid": "$datasource" "uid": "$datasource"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "synapse_admin_mau_max{instance=\"$instance\", job=~\"(hhs_)?synapse\"}", "expr": "max(synapse_admin_mau_max{instance=\"$instance\"})",
"format": "time_series", "format": "time_series",
"interval": "", "interval": "",
"intervalFactor": 1, "intervalFactor": 1,
@ -11310,7 +11307,7 @@
"uid": "$datasource" "uid": "$datasource"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "synapse_admin_mau_current{instance=\"$instance\", job=~\"(hhs_)?synapse\"}", "expr": "max(synapse_admin_mau_current{instance=\"$instance\"})",
"hide": false, "hide": false,
"legendFormat": "Current", "legendFormat": "Current",
"range": true, "range": true,
@ -12760,6 +12757,6 @@
"timezone": "", "timezone": "",
"title": "Synapse", "title": "Synapse",
"uid": "000000012", "uid": "000000012",
"version": 149, "version": 150,
"weekStart": "" "weekStart": ""
} }