Need guidance with production monitoring?
Book FREE office hours and we'll help you out
Not sure how to approach production monitoring? Book FREE office hours and we'll help you out
Instrumentation/Supported Frameworks

Process Metrics #

Available Metrics #

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


Tags included by default:
  • mode: Whether the CPU usage is on user, system or combined mode.

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 {
  process-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 Process metrics module is distributed as part of the system metrics module).


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



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


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

On this article
Kamon APM Logo
Monitor and fix issues in production without being an expert
Learn about APM
Try Kamon APM I know how Kamon APM can help with monitoring. Don't show this again.