See documentation at https://docs.microsoft.com/en-us/azure/azure-monitor/app/java-in-process-agent.
Download the main repo and submodule:
git clone https://github.com/microsoft/ApplicationInsights-Java
cd ApplicationInsights-Java
Build the agent jar file:
./gradlew :agent:agent:shadowJar
The agent jar file should now be available under agent/agent/build/libs
.
We follow the same style guidelines and recommended Intellij setup as the OpenTelemetry Java Instrumentation repo.
While developing, if you find errorprone is getting in your way (e.g. it won't let you add
System.out.println
to your code), you can disable it by adding the following to your
~/.gradle/gradle.properties
:
disableErrorProne=true
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.