Overhaul config <-> agent coupling. Put config in it's own package.
This commit is contained in:
@@ -16,7 +16,7 @@ import (
|
||||
|
||||
const sampleConfig = `
|
||||
# specify commands via an array of tables
|
||||
[[exec.commands]]
|
||||
[[plugins.exec.commands]]
|
||||
# the command to run
|
||||
command = "/usr/bin/mycollector --foo=bar"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user