Skip to content
Application Insights SDK for Java
Branch: master
Clone or download
Latest commit a307d98 Jul 20, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update issue templates (#701) Jul 13, 2018
ApplicationInsightsInternalLogger remove empty constructor Jun 13, 2019
agent Merge pull request #980 from microsoft/buildme/add-custom-instrumenta… Jul 20, 2019
azure-application-insights-spring-boot-starter Normalize white space Jul 20, 2019
buildSrc/src/main/groovy/com/microsoft/applicationinsights/build/tasks Build/Versioning - added up-to-date logic for PropsFileGen task Apr 12, 2015
collectd Normalize white space Jul 20, 2019
config/checkstyle Update checkstyle configuration Jul 10, 2019
core Normalize white space Jul 20, 2019
distributions update occurrences of classifier->archiveClassifier Jul 11, 2019
gradle use new directory.file() apis Jul 15, 2019
logging remove deprecated findbugs plugin Jul 12, 2019
samples Normalize white space Jul 20, 2019
springbootsample Update README.md (#877) Mar 26, 2019
test Normalize white space Jul 20, 2019
web-auto Auto register shutdown hook Jul 10, 2019
web Normalize white space Jul 20, 2019
.gitattributes added .gitattributes to prevent bash from trying to run the elusive '… Dec 2, 2017
.gitignore add pom.xml to git ignore (#754) Oct 1, 2018
CHANGELOG.md Normalize white space Jul 20, 2019
LICENSE renamed NOTICE and LICENSE Jun 27, 2019
NOTICE Normalize white space Jul 20, 2019
README.md update readme (#677) Jun 1, 2018
build.gradle update wrapper task options for future upgrades Jul 12, 2019
gradle.properties Next development version Jul 10, 2019
gradlew upgrade to latest gradle version Jul 12, 2019
gradlew.bat Normalize white space Jul 20, 2019
settings.gradle place test app projects under AI_SAMPLES condition to enable Jul 19, 2019

README.md

Application Insights for Java

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

Introduction

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.

Otherwise

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 opencode@microsoft.com with any additional questions or comments.

You can’t perform that action at this time.