summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4c50422)
raw | patch | inline | side by side (parent: 4c50422)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 20 Oct 2014 14:49:04 +0000 (16:49 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 20 Oct 2014 14:49:04 +0000 (16:49 +0200) |
Thanks to @ekilby for spotting this mistake ! Fixes #757
src/mysql.c | patch | blob | history |
diff --git a/src/mysql.c b/src/mysql.c
index 7d5eddd17bce73fd85ff84420b27b159569cad43..f5ae1ad2182668250be54f92cbeb66703a1bb441 100644 (file)
--- a/src/mysql.c
+++ b/src/mysql.c
else if (strcmp (key, "Innodb_buffer_pool_pages_dirty") == 0)
gauge_submit ("mysql_bpool_pages", "dirty", val, db);
else if (strcmp (key, "Innodb_buffer_pool_pages_flushed") == 0)
- counter_submit ("mysql_bpool_counters", "flushed", val, db);
+ counter_submit ("mysql_bpool_pages", "flushed", val, db);
else if (strcmp (key, "Innodb_buffer_pool_pages_free") == 0)
gauge_submit ("mysql_bpool_pages", "free", val, db);
else if (strcmp (key, "Innodb_buffer_pool_pages_misc") == 0)
else if (strcmp (key, "Innodb_data_reads") == 0)
counter_submit ("mysql_innodb_data", "reads", val, db);
else if (strcmp (key, "Innodb_data_writes") == 0)
- counter_submit ("mysql_bpool_counters", "writes", val, db);
+ counter_submit ("mysql_innodb_data", "writes", val, db);
else if (strcmp (key, "Innodb_data_written") == 0)
counter_submit ("mysql_innodb_data", "written", val, db);