Unlimited services in the new APM plans! Monitor unlimited services with the new APM plans!

Akka Instrumentation #

Overview #

Kamon supports instrumenting Akka 2.4 and Akka 2.5 and bring all of these features out of the box:

  • Metrics collection: Metrics for actor systems, actors, routers, dispatchers and actor groups, as well as remoting/cluster components of the actor system.
  • Message Tracing: The instrumentation can automatically generate spans out of messages processed by selected actors in the system.
  • Context Propagation: Ensure that Context gets propagated across actor messages sent to both local and remote actors.
  • Ask Pattern Timeout Warning: An utility that logs a warning with additional information when a usage of the Ask Pattern times out.

Manual Installation #

In case you are not using the Kamon Bundle, add the dependency below to your build to instrument Akka 2.4 and Akka 2.5 applications.


libraryDependencies += "io.kamon" %% "kamon-akka" % "2.2.2"



    <dependency>
      <groupId>io.kamon</groupId>
      <artifactId>kamon-akka_2.13</artifactId>
      <version>2.2.2</version>
    </dependency>


implementation 'io.kamon:kamon-akka_2.13:2.2.2'

You must start your application with the instrumentation agent for this module to work properly.