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

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: Chapter 6. Jolokia Protocol

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: Jolokia plugin: POST requests need configuration documentation · Issue #1834 · influxdata/telegraf · GitHub)

Can you please confirm?

It uses a bulk request with POST.

1 Like

Awesome Thank you !!