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.
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:
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.
Our Kamon reporter resources include: