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.

<dependency>
    <groupId>com.atatus.apm</groupId>
    <artifactId>atatus-agent-api</artifactId>
    <version>2.0.0</version>
</dependency>

For an introduction to this API, view all methods.