Kamon provides an instrumentation toolkit that specializes in automatic instrumentation of Scala and Akka applications. It consists of APIs for metric and tracing instrumentation and automatic instrumentation modules that create application metrics and distributed traces.
Kamon also provides reporter modules to transfer telemetry data to a backend of your choice. New Relic's Kamon reporter is included in the Kamon Bundle, and you can configure it to send telemetry data from your Kamon-instrumented applications to your New Relic account.
Enable Kamon reporter
To enable our Kamon reporter:
- If you haven't already, create a New Relic account. It's free, forever.
- Follow the Kamon reporter installation instructions.
- Optional: Instead of using the native Kamon trace sampling, you can enable our Infinite Tracing feature. If you use this option, you will typically want to configure Kamon to send us all trace data (learn more about sampling). To enable Infinite Tracing:
- In the New Relic UI, set up a trace observer.
- Configure our Kamon reporter to send data to the trace observer: Set the
span-ingest-urivalue to YOUR_TRACE_OBSERVER_URL in your
Did this doc help with your installation?
Find your data
To find your data, go to one.newrelic.com and go to Your applications > Explorer. From the Entities screen, search for your service by name. New Relic provides an out-of-the-box overview that includes charts for some of the most useful metrics provided by Kamon instrumentation. If you're also sending distributed tracing data, the Distributed tracing feature is available to query and view traces.
You can use the out-of-the-box overview as a starting point to build your own dashboards. Click on the
... icon in a chart to add that chart to a dashboard or view the query behind the chart to modify it and it add it to your dashboard.
For more on how to query your data once it's in New Relic, see Query your data and Introduction to NRQL.
Our Kamon reporter resources include:
- Installation and configuration guide (Kamon site)
- Integration specs (New Relic GitHub)