Bläddra i källkod

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 6 år sedan
förälder
incheckning
759f623e72
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. +2
    -2
      galera/files/grafana_dashboards/mysql_prometheus.json

+ 2
- 2
galera/files/grafana_dashboards/mysql_prometheus.json Visa fil

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

Laddar…
Avbryt
Spara