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.
Add the kamon-jaeger
dependency to your build:
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.
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
}
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: