Join us live to discuss The Three Jobs of Every Observability Platform on September 21st Is a metrics dashboard "enough" observability? Join us next week to discuss The Three Jobs of Every Observability Platform
Instrumentation/Supported Frameworks

JVM Metrics #

Available Metrics #

Kamon will automatically detect and start the JVM metrics module when it is in your classpath and the following metrics will become available:


Tags included by default:
  • collector: Name of the garbage collector.
  • generation: Name of the generation (young or old) on which the GC event happened.
  • db.vendor: Name of the JDBC driver vendor.

Tags included by default:
  • region: Name of the memory region being measured.

Tags included by default:
  • region: Name of the memory region being measured.

Tags included by default:
  • region: Name of the memory region being measured.

Tags included by default:
  • region: Name of the memory region being measured.

Tags included by default:
  • pool: Name of the memory pool being measured.

Tags included by default:
  • pool: Name of the memory pool being measured.

Tags included by default:
  • pool: Name of the memory pool being measured.

Tags included by default:
  • pool: Name of the memory pool being measured.

Disabling the Module #

This module is enabled by default, but you can explicitly enable/disable it by changing the enabled setting in your application configuration:

kamon.modules {
  jvm-metrics {
    enabled = no
  }
}

Kamon will still recognize that the module is available, but will not automatically start it when Kamon.init() or Kamon.loadModules() are called.

Manual Installation #

In case you are not using the Kamon Bundle, add the dependency below to your build (the JVM metrics module is distributed as part of the system metrics module).


libraryDependencies += "io.kamon" %% "kamon-system-metrics" % "2.5.8"



    <dependency>
      <groupId>io.kamon</groupId>
      <artifactId>kamon-system-metrics_2.13</artifactId>
      <version>2.5.8</version>
    </dependency>


implementation 'io.kamon:kamon-system-metrics_2.13:2.5.8'

On this article
Kamon APM Logo
Get Application-level Observability with Kamon APM
  • Correlated metrics and traces
  • Metric dashboards
  • Alerting rules and notifications
  • OpenTelemetry and Micrometer compatible
Try Kamon APM
Start with a FREE developer account