Jolokia2: Multiple DNS A records



I have a DNS name with record A containing several IP addresses which changes dynamically. Is it possible to configure jolokia2 plugin so that it queries each of these IP addresses separately? Prometheus has a similar functionality and it tracks the content of the DNS A record and uses this to update a list of scrape targets. Can I do something like this in Telegraf?



No, it’s not possible, but it is an interesting idea. We do have something like this, but only in the prometheus input plugin, perhaps we could generalize this idea for use in other plugins.