Skip to content
Cyrille Le Clerc edited this page Jan 6, 2013 · 5 revisions
  • EmbeddedJmxTrans configuration URL: classpath:org/jmxtrans/embedded/config/jvm-sun-hotspot.json
  • Source: jvm-sun-hotspot.json
  • Collected Metrics
  • Memory: heap and non heap usage
  • Garbage Collectors
  • Threads
  • Operating System: CPU, memory, file descriptors
  • Process: uptime
  • Spring configuration:
<bean id="jmxExporter" class="org.jmxtrans.embedded.EmbeddedJmxTransFactory">
  <property name="configurationUrls">
    <list>
      <value>classpath:org/jmxtrans/embedded/config/jvm-sun-hotspot.json</value>
      ...
    </list>
  </property>
</bean>

Note: configuration templates are generic and may not exactly fit your needs but are always useful for copy/paste.