influxdata/telegraf

Adding option to invoke operations in jolokia2 agent

Open

#5.278 geöffnet am 10. Jan. 2019

Auf GitHub ansehen
 (12 Kommentare) (4 Reaktionen) (0 zugewiesene Personen)Go (4.161 Forks)batch import
area/jolokiafeature requesthelp wantedsize/l

Repository-Metriken

Stars
 (9.892 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 2T 12h) (136 gemergte PRs in 30 T)

Beschreibung

Feature Request

Besides reading attributes the jolokia2 agent should be able to invoke operations from custom Mbeans through the JMX.

Proposal:

We would like to see operations to be captured from invoked actions

Current behavior:

Current behaviour supports only read requests and attributes ie: curl http://localhost:10012/jolokia/read/java.lang:type=Memory | python -m json.tool

Desired behavior:

I would like to have also operations supported for custom Mbeans(for our applications) created in Spring.boot. An example is: http://localhost:10162/jolokia/exec/org.springframework.boot:type=Endpoint,name=Health/health/ | python -m json.tool While I can see the result in command line I cannot capture it with telegraf

Contributor Guide