add additional metrics to mysql plugin tests

Closes #165
This commit is contained in:
nickscript0 2015-09-02 10:03:05 -06:00 committed by Cameron Sparr
parent 3f63bcde12
commit 0143a4227e
2 changed files with 10 additions and 3 deletions

View File

@ -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

View File

@ -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{