瀏覽代碼

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 年之前
父節點
當前提交
759f623e72
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      galera/files/grafana_dashboards/mysql_prometheus.json

+ 2
- 2
galera/files/grafana_dashboards/mysql_prometheus.json 查看文件

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

Loading…
取消
儲存