diff --git a/internal/config/testdata/telegraf-agent.toml b/internal/config/testdata/telegraf-agent.toml index 5ede47016..8bde486dd 100644 --- a/internal/config/testdata/telegraf-agent.toml +++ b/internal/config/testdata/telegraf-agent.toml @@ -107,7 +107,7 @@ # Read flattened metrics from one or more commands that output JSON to stdout [[inputs.exec]] # the command to run - command = "/usr/bin/mycollector --foo=bar" + commands = ["/usr/bin/mycollector --foo=bar"] name_suffix = "_mycollector" # Read metrics of haproxy, via socket or csv stats page