Closed ssoroka closed 11 months ago
Would this be the same as multiple instances of one plugin? I want to collect data from several Monit instances, but I can't from the same Telegraf instance.
I see some plugins offer an 'array of hosts' but AFAICS only one user/password for all hosts.
Instead of the namespace
how about (for example);
[[inputs.monit.host1]]
# config
[[inputs.monit.host2]]
#config
This would (should) work for any plugin.
I am also in need of such namepace plugins to complete complex telegraf input and output. On my same machine, I need multiple sets of input/output, and I already know that name filter and tag filter can be used to complete this task, but the use of tag filters and name filters is very ugly and covert. For example, I have multiple input sources where the metric name of the input source may be coupled, and multiple input sources, which makes the filter very difficult to maintain.
Feature Request
namespace plugins so that you can easily control the flow of metrics through Telegraf without depending on a rather verbose namepass setup.
eg