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:

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:

Can you please confirm?


It uses a bulk request with POST.

1 Like

Awesome Thank you !!