浏览代码

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

正在加载...
取消
保存