startTransaction() function is used to create a custom transaction.
For supported frameworks, Atatus Java agent will automatically capture the transactions.
This function can be used to instrument unsupported frameworks or background operations.
Add dependency before starting with the api.
pom.xml
Java Agent API
Start custom transaction in Java
Set up custom instrumentations in your Java app using Atatus Java agent API. Sign up with Atatus and gain in-depth APM analytics to resolve your errors at a faster rate.