use counter type for Innodb_buffer_pool_pages_flushed
authorMarek Becka <marek.becka@superhosting.cz>
Tue, 16 Jun 2015 16:38:37 +0000 (12:38 -0400)
committerFlorian Forster <octo@collectd.org>
Tue, 16 Jun 2015 18:39:37 +0000 (20:39 +0200)
src/mysql.c

index 00cba09..eaa0371 100644 (file)
@@ -815,7 +815,7 @@ static int mysql_read (user_data_t *ud)
                        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_pages", "flushed", val, db);
+                               counter_submit ("mysql_bpool_counters", "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)