Auto-instrumentation won’t work for the Akka framework. You must manually instrument transactions using our custom API’s instrumentation. Please follow the steps below

Add Agent API dependency

Option 1: Using Jar If you are using a JAR file, you can download the Atatus Agent API jar from Maven Central and place it in your class path. Option 2: Using pom.xml Add dependency to your pom.xml file as follows.

Instrumentation

  1. Create transaction and set the name at the start of the route method as follows
  2. After processing the request, end the transaction before sending the response.

Example