From 4039e1c9a793d6cf5da571ba29f8d5fe70fa4238 Mon Sep 17 00:00:00 2001 From: Marek Becka Date: Mon, 11 Aug 2014 20:55:39 +0200 Subject: [PATCH] submit mysql_bpool_bytes as gauge --- src/mysql.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mysql.c b/src/mysql.c index edff4ad8..c182cd24 100644 --- a/src/mysql.c +++ b/src/mysql.c @@ -708,9 +708,9 @@ static int mysql_read (user_data_t *ud) else if (strcmp (key, "Innodb_buffer_pool_write_requests") == 0) counter_submit ("mysql_bpool_counters", "write_requests", val, db); else if (strcmp (key, "Innodb_buffer_pool_bytes_data") == 0) - counter_submit ("mysql_bpool_bytes", "data", val, db); + gauge_submit ("mysql_bpool_bytes", "data", val, db); else if (strcmp (key, "Innodb_buffer_pool_bytes_dirty") == 0) - counter_submit ("mysql_bpool_bytes", "dirty", val, db); + gauge_submit ("mysql_bpool_bytes", "dirty", val, db); /* data */ if (strcmp (key, "Innodb_data_fsyncs") == 0) -- 2.30.2