Skip to content

SDUUitgevers/kamon-play

 
 

Repository files navigation

Play Framework Integration

Build Status Gitter Maven Central

The kamon-play module ships with bytecode instrumentation that brings distributed tracing, metrics and automatic context propagation to Play Framework applications.

NOTE: The kamon-play module requires you to start your application using the AspectJ Weaver Agent.

Since Kamon 1.0.0 we support Play Framework 2.4, 2.5 and 2.6!. Please make sure you add either kamon-play-2.4, kamon-play-2.5 or kamon-play-2.6 to your project's classpath.

Getting Started

Kamon Play is currently available for Scala 2.10, 2.11 and 2.12.

Supported releases and dependencies are shown below.

kamon-play-2.4 status jdk scala
1.1.0 stable 1.7+, 1.8+ 2.10, 2.11
kamon-play-2.5 status jdk scala
1.1.0 stable 1.7+, 1.8+ 2.11
kamon-play-2.6 status jdk scala
1.1.0 stable 1.8+ 2.12

For Play Framework 2.6, just add the dependency bellow and ensure your application is running with the AspectJ Weaver

libraryDependencies += "io.kamon" %% "kamon-play-2.6" % "1.1.0"