Fixing old tests and adding new ones for new code.

This commit is contained in:
gotyaoi
2015-10-16 23:11:12 -07:00
committed by Ellison Marks
parent 0299a17da1
commit ae10fc7fb4
3 changed files with 295 additions and 23 deletions

12
testdata/single_plugin.toml vendored Normal file
View File

@@ -0,0 +1,12 @@
[kafka]
topic = "topic_with_metrics"
consumerGroupName = "telegraf_metrics_consumers"
zookeeperPeers = ["test.example.com:2181"]
batchSize = 1000
pass = ["some", "strings"]
drop = ["other", "stuff"]
interval = "5s"
[kafka.tagpass]
goodtag = ["mytag"]
[kafka.tagdrop]
badtag = ["othertag"]