metricq/metricq-source-modbus

Allow hosts / names to be lists

tilsche opened this issue · 0 comments

e.g.

    "hosts": ["left.example.com", "right.example.com"],
    "names: ["foo.bar.left", "foo.bar.right"]

While this can be more bulky, it can be easier to read and match if the hosts/names become too complicated.

We can also discuss whether the combination is good:

   "hosts": ["left[0-3].example.com", "right[0-3].example.com"]

This can be useful for complex things, but maybe also dangerous.