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
-
Create transaction and set the name at the start of the route method as follows
-
After processing the request, end the transaction before sending the response.