kamon-io / kamon-akka-http

Kamon integration for metrics, context and distributed tracing with Akka HTTP

Website GitHub

Kamon akka-http

Gitter Build Status Maven Central


Kamon Akka Http module provides bytecode instrumentation to gather metrics and perform automatic Context propagation on your behalf, both on the client and server side.

Adding the Module

Supported releases and dependencies are shown below.

kamon-akka-http-2.4 status jdk scala akka
1.1.2 stable 1.8+ 2.11, 2.12 2.4.x
kamon-akka-http-2.5 status jdk scala akka
1.1.2 stable 1.8+ 2.11, 2.12 2.5.x

To get started with SBT add the following to your build.sbt or pom.xml file:

libraryDependencies += "io.kamon" %% "kamon-akka-http-2.5" % "1.1.2"
<dependency>
    <groupId>io.kamon</groupId>
    <artifactId>kamon-akka-http-2.5_2.12</artifactId>
    <version>1.1.2</version>
</dependency>

Run

The kamon-akka-http module requires you to start your application using the AspectJ Weaver Agent. You can achieve that quickly with the sbt-aspectj-runner plugin or take a look at the documentation for other options.

Enjoy!

Feel free to ask anything you might need in our Gitter channel or in the mailing list.