To start using the Plumbr Agent API, agent-api.jar must be added as a dependency to your project. When running the application without the Plumbr Agent attached, all calls to the library will be silently ignored without any performance impact. When the Agent API library sees the attached agent, it will perform the requested integration calls.

The Agent API is published on Bintray () and Maven Central.

To add the dependency, copy and paste the suitable snippet for your build system from the respective Bintray or maven central page.

To use the library in the code, the following import must be added to your source file:

import eu.plumbr.api.Plumbr;