Documentation
Sponsored by Kamino

Sending Spans to Jaeger

Jaeger is a distributed tracing system. It was originally created at Uber.

The kamon-jaeger module translates Kamon’s representation of Spans and sends them to Jaeger’s API.

Installation and Startup

Add the kamon-jaeger dependency to your build:

  • Group ID: io.kamon
  • Package ID: kamon-jaeger
  • Scala Versions: 2.10 / 2.11 / 2.12
  • Latest Version: kamon-jaeger

Adding the dependency to SBT would look like this:

libraryDependencies += "io.kamon" %% "kamon-jaeger" % "1.0.1"

And then start the reporter:

import kamon.jaeger.JaegerReporter

Kamon.addReporter(new JaegerReporter())

That’s it. Go to the Jaeger UI and start browsing your traces.

Configuration

It couldn’t be simpler. All you need to provide is the host and port where Zipkin is listening.

kamon.zipkin {
  host = "localhost"
  port = 9411
}

Visualization and Fun

These screenshots were taken by running the Monitoring Akka Quickstart recipe with the Jaeger reporter, head over there to learn more about how to get started with Monitoring Akka with Kamon!

Trace view in Jaeger:

Trace Details: