Application Insights SDK for Java
dhaval24 Update changelog (#748)
* update changelog
Latest commit 24c8eee Sep 20, 2018
Failed to load latest commit information.
.github Update issue templates (#701) Jul 13, 2018
agent added timezone to dateformat for logs (#688) Jun 19, 2018
azure-application-insights-spring-boot-starter update auto config of QuickPulse to prevent init when LF Channel pres… Sep 18, 2018
buildSrc/src/main/groovy/com/microsoft/applicationinsights/build/tasks Build/Versioning - added up-to-date logic for PropsFileGen task Apr 12, 2015
collectd Rethrow threaddeath (#512) Mar 14, 2018
core Fix quickpulse post interval bug (#747) Sep 20, 2018
distributions Updating dependencies to latest version to-date Nov 29, 2017
gradle some minor changes and reverting gradle files changed Apr 20, 2018
logging Merge 2.0.0 changes to master (#584) Mar 8, 2018
samples Rethrow threaddeath (#512) Mar 14, 2018
test LocalForwarderChannel (#723) Sep 12, 2018
web removed servlet 3 annotations. updated changelog with notes. (#742) Sep 20, 2018
.gitattributes added .gitattributes to prevent bash from trying to run the elusive '… Dec 2, 2017
.gitignore Fix appender tests (#574) Mar 1, 2018 Update changelog (#748) Sep 20, 2018
LICENSE.txt General - Renaming repo from AppInsights-Java to ApplicationInsights-… Apr 14, 2015 update readme (#677) Jun 1, 2018
ThirdPartyNotices.txt Updated attribution statement (#743) Sep 20, 2018
build.gradle removed unused method Jan 10, 2018 update version (#746) Sep 18, 2018
gradlew some minor changes and reverting gradle files changed Apr 20, 2018
gradlew.bat upgraded wrapper Dec 1, 2017
settings.gradle adding trace logback test case (#672) Jun 1, 2018

Application Insights for Java

Build & Unit Tests Smoke Tests
Build + Unit Tests Smoke Tests


This is the repository of the Java SDK for Azure Application Insights. Application Insights is a service that monitors the availability, performance and usage of your application. The SDK sends telemetry about the performance and usage of your app to the Application Insights service where your data can be visualized in the Azure Portal. The SDK automatically collects telemetry about HTTP requests, dependencies, and exceptions. You can also use the SDK to send your own events and trace logs.

For more information please refer to:

The following packages are built in this repository:

  • Base API and channel: applicationinsights-core
  • Web applications instrumentation: applicationinsights-web
  • Application Insights SpringBoot Starter: applicationinsights-spring-boot-starter
  • Logback adaptor: applicationinsights-logging-logback
  • Log4J 2 adaptor: applicationinsights-logging-log4j2
  • Log4J 1.2 adaptor: applicationinsights-logging-log4j1_2

To upgrade to the latest SDK

After you upgrade, you'll need to merge back any customizations you made to ApplicationInsights.xml. Take a copy of it to compare with the new file.

If you're using Maven or Gradle

  1. If you specified a particular version number in pom.xml or build.gradle, update it.
  2. Refresh your project's dependencies.


Compare the old and new ApplicationInsights.xml. Many of the changes you see are because we added and removed modules. Reinstate any customizations that you made.

Application Insights for Java Roadmap

The Application Insights team have been hard at work to deliver the next wave of features for our Java support and experience. Below is an outline of the features and improvements that are planned for our next several releases, which are targeted to be completed for mid-year 2018.

Documentation Improvements

The Application Insights team believes that documentation is important to the overall successfulness of our users. As such, we strive to continually improve our documentation. The full list of documentation changes can be found in our issue tracker. Feel free to open a new issue to report incorrect or unclear documentation.

Adaptive Sampling

While our 2.0 SDK will provide full support for fixed rate sampling, we plan to add support for adaptive sampling. Adaptive sampling provides fine-grained controls over a variable sampling rate when traffic to an application fluctuates and finding a fixed rate to sample with would otherwise be difficult.

Support for Java 9

The Application Insights for Java SDK currently supports Java 7 and 8. We are working to bring full support for customers who have upgraded their applications to Java 9 as well.

Microsoft Open Source Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.