Documentation

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


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


    <dependency>
      <groupId>io.kamon</groupId>
      <artifactId>kamon-jaeger_2.12</artifactId>
      <version>1.0.2</version>
    </dependency>


implementation 'io.kamon:kamon-jaeger_2.12:1.0.2'

Once you have the dependency on your classpath, 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.jaeger {
  host = "localhost"
  port = 14268
  tls = false
}

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: