With inputs.exec, I can have a command that looks like this (taken from the default telegraf.conf):
Can I wildcard a directory in the path? I have a small suite of scripts to gather metrics. They don’t all share the same configuration so I’d like to put them into their own directories like so:
This would be easier than adding a line for every new metric. It’d also mean that I don’t need to reorganize everything (especially configuration reading) as each individual metric is self contained to it’s own directory.