Extending Jolokia

classic Classic list List threaded Threaded
1 message Options
JR Andreassen JR Andreassen
Reply | Threaded
Open this post in threaded view
|

Extending Jolokia

Hi...

I've been looking through the documentation to see if there was a way to extend Jolokia with an "Agent"...

Goal, to reformat the reply into something directly digestible by a specific platform...

Is there a way to trigger an extention in Jolokia to call a transformation ?

Like:
http://localhost:8080/jolokia/AgentJ/read/java.lang:type=Memory/HeapMemoryUsage

or
X-JolokiAgent=AgentJ

accept-response=AgentJ/json

Thanks
  JR