jmxtrans / jmxtrans-agent

Java Agent based JMX metrics exporter.
MIT License
179 stars 110 forks source link

jmxtrans-agent.xml example with <invocations> block #138

Closed developKmv closed 5 years ago

developKmv commented 5 years ago

good afternoon!

Please, give some examples config file for invocation

I found, that JMX Trans can call some functions and give results. But how I can pass parameters to function ?

<jmxtrans-agent> <invocations> <invocation objectName="java.lang:type=Memory" operation="gc" resultAlias="jvm.gc"/> </invocations>