Telegraf-Jolokia - Does Telegraf do a POST or GET?

#1

We have configured our Telegraf to gather the JOLOKIA Stats from Tomcat JVMs.

To take advantage of the Jolokia’s “Bulk Requests” feature, the request needs to be a POST instead of GET per the Jolokia documentation: https://jolokia.org/reference/html/protocol.html

I tried to search Telegraf documentation to find what type of request does telegraf generate when configured with Jolokia, but didn’t find a definitive answer (only a single reference in a comment of: https://github.com/influxdata/telegraf/issues/1834)

Can you please confirm?

#2

It uses a bulk request with POST.

1 Like
#3

Awesome Thank you !!