I can’t seem to add tags to the jolokia2_proxy input targets:
[[inputs.jolokia2_proxy.target]]
url = "service:jmx:rmi:///jndi/rmi://10.1.xx.xx:4091/jmxrmi"
[[inputs.jolokia2_proxy.target.tags]]
host = "host01"
I’m getting this error:
telegraf: 2019-05-27T05:10:22Z E! [telegraf] Error running agent: Error parsing /etc/telegraf/telegraf.d/jolokia.conf, line 30: field corresponding to `tags' is not defined in `*jolokia2.JolokiaProxyTargetConfig'
The use case for this is say I have multiple targets in the Jolokia proxy. The host tags would only pickup the hostname of the Jolokia proxy but I want to reflect a different hostname per URL target.