Azure Application Insights libraries for Java


Detect, triage, and diagnose issues in your web apps and services with Application Insights.

To get started with Application Insights, see Get started with Application Insights in a Java web project.

Client library

Add telemetry to track events, exceptions, and user metrics in your apps with the Application Insights client library.

Add a dependency to your Maven pom.xml file to use the client library in your project.



Create a new metric entry and record a value for it.

    MetricTelemetry sample = new MetricTelemetry();
    sample.setName("metric name");


Explore more sample Java code for Application Insights you can use in your apps.