transaction.end() function is used to end a transaction. This will be used along with “startTransaction”. Add dependency before starting with the api. pom.xml

Compatibility

Compatible with all Java agent versions.

Syntax

Example

See also