From 0143a4227e1a05e388b6d6cc70a8c1baef7d2604 Mon Sep 17 00:00:00 2001 From: nickscript0 Date: Wed, 2 Sep 2015 10:03:05 -0600 Subject: [PATCH] add additional metrics to mysql plugin tests Closes #165 --- CHANGELOG.md | 6 +++--- plugins/mysql/mysql_test.go | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 940df2cab..c7ef051cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,9 @@ ## v0.1.8 [unreleased] ### Features - -[#150](https://github.com/influxdb/telegraf/pull/150): Add Host Uptime metric to system plugin -[#158](https://github.com/influxdb/telegraf/pull/158): Apache Plugin. Thanks @KPACHbIuLLIAnO4 +- [#150](https://github.com/influxdb/telegraf/pull/150): Add Host Uptime metric to system plugin +- [#158](https://github.com/influxdb/telegraf/pull/158): Apache Plugin. Thanks @KPACHbIuLLIAnO4 +- [#165](https://github.com/influxdb/telegraf/pull/165): Add additional metrics to mysql plugin. Thanks @nickscript0 ### Bugfixes diff --git a/plugins/mysql/mysql_test.go b/plugins/mysql/mysql_test.go index b4c29146e..8a284ca02 100644 --- a/plugins/mysql/mysql_test.go +++ b/plugins/mysql/mysql_test.go @@ -33,6 +33,13 @@ func TestMysqlGeneratesMetrics(t *testing.T) { {"bytes", 2}, {"innodb", 51}, {"threads", 4}, + {"aborted", 2}, + {"created", 3}, + {"key", 7}, + {"open", 7}, + {"opened", 3}, + {"qcache", 8}, + {"table", 5}, } intMetrics := []string{