Events
Mar 17, 11 PM - Mar 21, 11 PM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Azure Monitor Application Insights is an OpenTelemetry feature of Azure Monitor that offers application performance monitoring (APM) for live web applications. By integrating with OpenTelemetry (OTel), it provides a vendor-neutral approach to collecting and analyzing telemetry data, enabling comprehensive observability of your applications.
Application Insights supports OpenTelemetry (OTel) to collect telemetry data in a standardized format across platforms. Integration with Azure services allows for efficient monitoring and diagnostics, improving application observability and performance.
The logic model diagram visualizes components of Application Insights and how they interact.
Note
Firewall settings must be adjusted for data to reach ingestion endpoints. For more information, see IP addresses used by Azure Monitor.
This section outlines supported scenarios.
For more information about instrumenting applications to enable Application Insights, see data collection basics.
This section lists all supported platforms and frameworks.
ILogger
Log4J
, Logback, or java.util.loggingMany community-supported Application Insights SDKs exist, but Microsoft only provides support for instrumentation options listed in this article.
This section provides answers to common questions.
For detailed information about instrumenting applications to enable Application Insights, see data collection basics.
After enabling Application Insights by instrumenting an application, we suggest first checking out Live metrics and the Application map.
From server web apps:
From client webpages:
Uncaught exceptions in your app, including information on
User information (for example, Location, network, IP)
Device information (for example, Browser, OS, version, language, model)
Session information
Note
For some applications, such as single-page applications (SPAs), the duration may not be recorded and will default to 0.
For more information, see Data collection, retention, and storage in Application Insights.
From other sources, if you configure them:
To understand the number of Application Insights resources required to cover your application or components across environments, see the Application Insights deployment planning guide.
You can write PowerShell scripts by using Azure Resource Monitor to:
You can't set up a metrics explorer report or set up continuous export.
Use the REST API to run Log Analytics queries.
We recommend the Azure Monitor OpenTelemetry Distro.
The ingestion schema and endpoint protocol are available publicly.
Most Application Insights data has a latency of under 5 minutes. Some data can take longer, which is typical for larger log files. See the Application Insights service-level agreement.
Application Insights collects telemetry about your app, including web server telemetry, web page telemetry, and performance counters. This data can be used to monitor your app's performance, health, and usage. You can select the location when you create a new Application Insights resource.
Data is sent to an Application Insights Log Analytics workspace. You can choose the retention period for raw data, from 30 to 730 days. Aggregated data is retained for 90 days, and debug snapshots are retained for 15 days.
Application Insights doesn't handle sensitive data by default. We recommend you don't put sensitive data in URLs as plain text and ensure your custom code doesn't collect personal or other sensitive details. During development and testing, check the sent data in your IDE and browser's debugging output windows.
For archived information, see Data collection, retention, and storage in Application Insights.
Application Insights is billed through the Log Analytics workspace into which its log data ingested. The default Pay-as-you-go Log Analytics pricing tier includes 5 GB per month of free data allowance per billing account. Learn more about Azure Monitor logs pricing options.
This answer depends on the distribution of our endpoints, not on where your Application Insights resource is hosted.
Yes, you can incur more network costs, which vary depending on the region the telemetry is coming from and where it's going. Refer to Azure bandwidth pricing for details.
Important
On 1 March 2025, in alignment with the Azure wide legacy TLS retirement, TLS 1.0/1.1 protocol versions and the listed TLS 1.2/1.3 legacy Cipher suites and Elliptical curves will be retired for Application Insights. To provide best-in-class encryption, Application Insights uses Transport Layer Security (TLS) 1.2 and 1.3 as the encryption mechanisms of choice.
For any general questions around the legacy TLS problem, see Solving TLS problems and Azure Resource Manager TLS Support.
For Azure support issues, open an Azure support ticket.
Post general questions to the Microsoft Questions and Answers forum.
Post coding questions to Stack Overflow by using an azure-application-insights
tag.
Leave product feedback for the engineering team in the Feedback Community.
Events
Mar 17, 11 PM - Mar 21, 11 PM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowTraining
Learning path
Use advance techniques in canvas apps to perform custom updates and optimization - Training
Use advance techniques in canvas apps to perform custom updates and optimization
Certification
Microsoft Certified: Security Operations Analyst Associate - Certifications
Investigate, search for, and mitigate threats using Microsoft Sentinel, Microsoft Defender for Cloud, and Microsoft 365 Defender.