summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 458c6d8)
raw | patch | inline | side by side (parent: 458c6d8)
author | Marek Becka <marek.becka@superhosting.cz> | |
Mon, 11 Aug 2014 18:55:39 +0000 (20:55 +0200) | ||
committer | Marek Becka <marek.becka@superhosting.cz> | |
Mon, 11 Aug 2014 18:55:39 +0000 (20:55 +0200) |
src/mysql.c | patch | blob | history |
diff --git a/src/mysql.c b/src/mysql.c
index edff4ad8769e0da338221e93dda0fd22133356fb..c182cd249c7c96f8dd383303b2affc95b3ee6d76 100644 (file)
--- a/src/mysql.c
+++ b/src/mysql.c
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)