Overhaul config <-> agent coupling. Put config in it's own package.
This commit is contained in:
8
internal/config/testdata/subconfig/exec.conf
vendored
Normal file
8
internal/config/testdata/subconfig/exec.conf
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
[[plugins.exec]]
|
||||
# specify commands via an array of tables
|
||||
[[plugins.exec.commands]]
|
||||
# the command to run
|
||||
command = "/usr/bin/myothercollector --foo=bar"
|
||||
|
||||
# name of the command (used as a prefix for measurements)
|
||||
name = "myothercollector"
|
||||
Reference in New Issue
Block a user