fixed mysql chart priorities
Costa Tsaousis committed
May 3, 2016 at 08:35 UTC
82f8de9a2b74774592ff794cfddb53fc0ad19da4
1 file changed
+2
-2
charts.d/mysql.chart.sh
+2
-2
@@ -383,7 +383,7 @@ EOF
383
if [ ! -z "$mysql_Binlog_stmt_cache_disk_use" ]
384
then
385
cat <<EOF
386
-CHART mysql_$x.binlog_stmt_cache '' "mysql Binlog Statement Cache" "statements/s" binlog mysql.binlog_stmt_cache line $((mysql_priority + 20)) $mysql_update_every
386
+CHART mysql_$x.binlog_stmt_cache '' "mysql Binlog Statement Cache" "statements/s" binlog mysql.binlog_stmt_cache line $((mysql_priority + 50)) $mysql_update_every
387
DIMENSION Binlog_stmt_cache_disk_use disk incremental 1 1
388
DIMENSION Binlog_stmt_cache_use all incremental 1 1
389
EOF
@@ -392,7 +392,7 @@ EOF
392
if [ ! -z "$mysql_Connection_errors_accept" ]
393
then
394
cat <<EOF
395
-CHART mysql_$x.connection_errors '' "mysql Connection Errors" "connections/s" connections mysql.connection_errors line $((mysql_priority + 21)) $mysql_update_every
395
+CHART mysql_$x.connection_errors '' "mysql Connection Errors" "connections/s" connections mysql.connection_errors line $((mysql_priority + 51)) $mysql_update_every
396
DIMENSION Connection_errors_accept accept incremental 1 1
397
DIMENSION Connection_errors_internal internal incremental 1 1
398
DIMENSION Connection_errors_max_connections max incremental 1 1