Parcourir la source

Change query for mysql cluster size

In case of mysql failed it shows different values for different nodes.
After this fix it ll show actual cluster size

Change-Id: I2fcb23418d6de3e03108a1c66a6ebb6ee5b64008
Closes-Bug: PROD-17416
master
Ildar Svetlov il y a 6 ans
Parent
révision
759f623e72
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      galera/files/grafana_dashboards/mysql_prometheus.json

+ 2
- 2
galera/files/grafana_dashboards/mysql_prometheus.json Voir le fichier

@@ -72,7 +72,7 @@
"tableColumn": "",
"targets": [
{
"expr": "mysql_wsrep_cluster_size{host=\"$host\"}",
"expr": "min(mysql_wsrep_cluster_size)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
@@ -927,4 +927,4 @@
"timezone": "browser",
"title": "MySQL",
"version": 33
}
}

Chargement…
Annuler
Enregistrer