3357229ec2
This sets up a configuration managemet service on a configureable port (which itself is configureable by the configuration management service!). It sets up an HTTP handler on this port whereby GETs to / will deliver the current TOML configuration that Telegraf booted from. POSTs to / will update that configuration. Telegraf can then be restarted from the configuration by sending SIGHUP through existing mechanisms. This configuration management service is not authenticated in any way! It is assumed that this service will only be available behind the firewall. |
||
---|---|---|
.. | ||
testdata | ||
config.go | ||
config_test.go |