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 Plumbr Agent sees the attached Agent API library, 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: