By default Atatus Java agent works automatically for all supported frameworks. Track your custom metrics to monitor any particular transaction of your Java application.

Add Agent API dependency

Option 1: Using Jar If you use 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.
For an introduction to this API, view all methods.