Tests for LoadDirectory.

closes #295
This commit is contained in:
Ellison Marks
2015-10-19 14:28:10 -07:00
committed by Cameron Sparr
parent c938523cd5
commit 4395a46190
5 changed files with 99 additions and 2 deletions

8
testdata/subconfig/exec.conf vendored Normal file
View File

@@ -0,0 +1,8 @@
[exec]
# specify commands via an array of tables
[[exec.commands]]
# the command to run
command = "/usr/bin/myothercollector --foo=bar"
# name of the command (used as a prefix for measurements)
name = "myothercollector"

10
testdata/subconfig/kafka.conf vendored Normal file
View File

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

View File

@@ -0,0 +1,3 @@
[procstat]
[[procstat.specifications]]
pid_file = "/var/run/grafana-server.pid"

View File

@@ -0,0 +1,3 @@
[procstat]
[[procstat.specifications]]
pid_file = "/var/run/influxdb/influxd.pid"