Documentation

Reporting Metrics to SPM

SPM is a proactive performance monitoring solution that provides anomaly detection, alerting, transaction tracing, network topology discovery and log correlation available in the Cloud and On Premises.

Installation

Sign up. Create ‘Akka’ app in SPM. Get your SPM app token. Add kamon-spm dependency to your project.

Configuration

SPM backend extension requires the property kamon.spm.token to be defined. SPM provides reports for akka-actor, akka-router, akka-dispatcher and system-metrics categories. By default all entities for given categories are included.

kamon.spm {
    token = "[place-token-here]"
    subscriptions {
      akka-actor      = [ "**" ]
      akka-dispatcher = [ "**" ]
      akka-router     = [ "**" ]
      system-metric   = [ "**" ]
    }
  }

To see a full example of Kamon SPM Backend configuration look at application.conf in sample Akka/Play app with Kamon and SPM.

Note: By default this extension uses hostname resolved using InetAddress.getLocalHost.getHostName. However, hostname can be redefined using kamon.spm.hostname-alias property.

Visualisation

Overview:

Actors:

Dispatchers:

Routers:

CPU: