Support Go execd plugins with shim (#7283)

This commit is contained in:
Steven Soroka
2020-05-04 14:09:10 -04:00
committed by GitHub
parent 7a5690cd36
commit b73a232a6a
58 changed files with 915 additions and 65 deletions

4
config/testdata/subconfig/exec.conf vendored Normal file
View File

@@ -0,0 +1,4 @@
[[inputs.exec]]
# the command to run
command = "/usr/bin/myothercollector --foo=bar"
name_suffix = "_myothercollector"

View File

@@ -0,0 +1,11 @@
[[inputs.memcached]]
servers = ["192.168.1.1"]
namepass = ["metricname1"]
namedrop = ["metricname2"]
pass = ["some", "strings"]
drop = ["other", "stuff"]
interval = "5s"
[inputs.memcached.tagpass]
goodtag = ["mytag"]
[inputs.memcached.tagdrop]
badtag = ["othertag"]

View File

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