Application Insights overview - Azure Monitor (2024)

  • Article

Azure Monitor Application Insights, a feature of Azure Monitor, excels in Application Performance Management (APM) for live web applications.

Experiences

Application Insights provides many experiences to enhance the performance, reliability, and quality of your applications.

Investigate

  • Application dashboard: An at-a-glance assessment of your application's health and performance.
  • Application map: A visual overview of application architecture and components' interactions.
  • Live metrics: A real-time analytics dashboard for insight into application activity and performance.
  • Transaction search: Trace and diagnose transactions to identify issues and optimize performance.
  • Availability view: Proactively monitor and test the availability and responsiveness of application endpoints.
  • Failures view: Identify and analyze failures in your application to minimize downtime.
  • Performance view: Review application performance metrics and potential bottlenecks.

Monitoring

  • Alerts: Monitor a wide range of aspects of your application and trigger various actions.
  • Metrics: Dive deep into metrics data to understand usage patterns and trends.
  • Diagnostic settings: Configure streaming export of platform logs and metrics to the destination of your choice.
  • Logs: Retrieve, consolidate, and analyze all data collected into Azure Monitoring Logs.
  • Workbooks: Create interactive reports and dashboards that visualize application monitoring data.

Usage

  • Users, sessions, and events: Determine when, where, and how users interact with your web app.
  • Funnels: Analyze conversion rates to identify where users progress or drop off in the funnel.
  • Flows: Visualize user paths on your site to identify high engagement areas and exit points.
  • Cohorts: Group users by shared characteristics to simplify trend identification, segmentation, and performance troubleshooting.

Code analysis

  • Profiler: Capture, identify, and view performance traces for your application.
  • Code optimizations: Harness AI to create better and more efficient applications.
  • Snapshot debugger: Automatically collect debug snapshots when exceptions occur in .NET application

Logic model

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.

Supported languages

This section outlines supported scenarios.

For detailed information about instrumenting applications to enable Application Insights, see data collection basics.

Automatic instrumentation (enable without code changes)

  • Autoinstrumentation supported environments and languages

Manual instrumentation

OpenTelemetry Distro

  • ASP.NET Core
  • .NET
  • Java
  • Node.js
  • Python

Application Insights SDK (Classic API)

  • ASP.NET
  • Java
  • Node.js
  • Python
  • ASP.NET Core

Client-side JavaScript SDK

  • JavaScript
    • React
    • React Native
    • Angular

Supported platforms and frameworks

This section lists all supported platforms and frameworks.

Azure service integration (portal enablement, Azure Resource Manager deployments)

  • Azure Virtual Machines and Azure Virtual Machine Scale Sets
  • Azure App Service
  • Azure Functions
  • Azure Spring Apps
  • Azure Cloud Services, including both web and worker roles

Logging frameworks

  • ILogger
  • Log4Net, NLog, or System.Diagnostics.Trace
  • Log4J, Logback, or java.util.logging
  • LogStash plug-in
  • Azure Monitor

Export and data analysis

  • Integrate Log Analytics with Power BI

Unsupported Software Development Kits (SDKs)

Many community-supported Application Insights SDKs exist, but Microsoft only provides support for instrumentation options listed in this article.

Frequently asked questions

This section provides answers to common questions.

How do I instrument an application?

For detailed information about instrumenting applications to enable Application Insights, see data collection basics.

How do I use Application Insights?

After enabling Application Insights by instrumenting an application, we suggest first checking out Live metrics and the Application map.

What telemetry does Application Insights collect?

From server web apps:

  • HTTP requests.
  • Dependencies. Calls to SQL databases, HTTP calls to external services, Azure Cosmos DB, Azure Table Storage, Azure Blob Storage, and Azure Queue Storage.
  • Exceptions and stack traces.
  • Performance counters: Performance counters are available when using:
    • Azure Monitor Application Insights agent
    • Azure monitoring for VMs or virtual machine scale sets
    • Application Insights collectd writer.
  • Custom events and metrics that you code.
  • Trace logs if you configure the appropriate collector.

From client webpages:

  • Uncaught exceptions in your app, including information on

    • Stack trace
    • Exception details and message accompanying the error
    • Line & column number of error
    • URL where error was raised
    • Network Dependency Requests made by your app XML Http Request (XHR) and Fetch (fetch collection is disabled by default) requests, include information on:
      • Url of dependency source
      • Command & Method used to request the dependency
      • Duration of the request
      • Result code and success status of the request
      • ID (if any) of user making the request
      • Correlation context (if any) where request is made
  • 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:

  • Azure diagnostics
  • Import to Log Analytics
  • Log Analytics
  • Logstash

How many Application Insights resources should I deploy?

To understand the number of Application Insights resources required to cover your application or components across environments, see the Application Insights deployment planning guide.

How can I manage Application Insights resources with PowerShell?

You can write PowerShell scripts by using Azure Resource Monitor to:

  • Create and update Application Insights resources.
  • Set the pricing plan.
  • Get the instrumentation key.
  • Add a metric alert.
  • Add an availability test.

You can't set up a metrics explorer report or set up continuous export.

How can I query Application Insights telemetry?

Use the REST API to run Log Analytics queries.

Can I send telemetry to the Application Insights portal?

We recommend the Azure Monitor OpenTelemetry Distro.

The ingestion schema and endpoint protocol are available publicly.

How long does it take for telemetry to be collected?

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.

How does Application Insights handle data collection, retention, storage, and privacy?

Collection

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.

Retention and Storage

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.

Privacy

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.

What is the Application Insights pricing model?

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.

Are there data transfer charges between an Azure web app and Application Insights?

  • If your Azure web app is hosted in a datacenter where there's an Application Insights collection endpoint, there's no charge.
  • If there's no collection endpoint in your host datacenter, your app's telemetry incurs Azure outgoing charges.

This answer depends on the distribution of our endpoints, not on where your Application Insights resource is hosted.

Do I incur network costs if my Application Insights resource is monitoring an Azure resource (that is, telemetry producer) in a different region?

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.

Help and support

Azure technical support

For Azure support issues, open an Azure support ticket.

Microsoft Questions and Answers forum

Post general questions to the Microsoft Questions and Answers forum.

Stack Overflow

Post coding questions to Stack Overflow by using an azure-application-insights tag.

Feedback Community

Leave product feedback for the engineering team in the Feedback Community.

Next steps

  • Data collection basics
  • Workspace-based resources
  • Automatic instrumentation overview
  • Application dashboard
  • Application Map
  • Live metrics
  • Transaction search
  • Availability overview
  • Users, sessions, and events
Application Insights overview - Azure Monitor (2024)

FAQs

Is application Insights part of Azure monitor? ›

Azure Monitor Application Insights, a feature of Azure Monitor, excels in Application Performance Management (APM) for live web applications.

How do I reduce telemetry traffic in Azure app Insights? ›

Sampling is a feature in Application Insights that allows you to collect and store a reduced set of telemetry while maintaining a statistically correct analysis of application data. It reduces traffic and helps avoid throttling.

What are the severity levels in application insights? ›

The four supported severity levels are Error, Warning, Informational, and Verbose. For example, to search for Error and Warning messages only: In the Azure portal, at the top of the Search panel, click Filters. In the Filter panel that appears on the right side, expand the Severity level tab.

What is the monitoring tools using to monitor the application in Azure? ›

Azure Monitor is a comprehensive monitoring solution for collecting, analyzing, and responding to monitoring data from your cloud and on-premises environments. You can use Azure Monitor to maximize the availability and performance of your applications and services.

What is included in Azure Monitor? ›

Azure Monitor receives data from target resources like applications, operating systems, Azure resources, Azure subscriptions, and Azure tenants. The nature of the resource defines which data types are available. A data type will be a metric, a log, or both a metric and a log.

What is the difference between Azure application Insights and log analytics? ›

It is about storage and query of log data. Application Insights is a layer on top of Log Analytics aimed at application-level telemetry and uses the log data stored in Log Analytics to provide an additional bunch of features that make App Insights an Application Performance Management tool.

What are the 4 levels of severity? ›

Since it is not possible to define every possible condition or technical situation, these guidelines can only provide guidance.
  • Severity 1 - System Down.
  • Severity 2 - Significant Impact.
  • Severity 3 - Minor Impact.
  • Severity 4 - Informational Only.

How do you determine severity level? ›

A common framework for incident severity levels is based on four factors: user impact, business impact, technical impact, and time to resolve. You can use these factors to assign a numerical or alphabetical level to each incident, such as Level 1 (critical), Level 2 (major), Level 3 (minor), and Level 4 (low).

How many severity levels are there? ›

Depending on the organization, severity levels commonly range from one to three, four or five. With one, or SEV 1, being the most severe and the highest number in your system (3, 4 or 5) being the least severe.

What is the retention period of application insights? ›

By default Application Insights and Log Analytics has a data retention of 90 days. You can opt to extend the retention up to 730 days. However, the tyGraph Pages Site Analytics web part only support a maximum of 365 day filters.

What is the difference between Azure monitor and Azure Advisor? ›

Both Azure Monitor and Azure Advisor provide actionable insights: Azure Monitor offers us a way to respond to any given issue in real time. Similarly, Azure Advisor offers detailed recommendations to holistically optimize our operations. Thus, both services provide us actionable insights.

Which of the following is a benefit of using Azure monitor insights? ›

Visibility: Azure Monitor provides detailed and unified visibility for cloud resources. Companies can monitor their applications, services and infrastructure and gain important insights into the performance of them.

Which component is used by Azure Monitor? ›

Azure Monitor tools

Log Analytics, a tool in the Azure portal that allows you to query and analyze log data by using the Kusto query language (KQL). For more information, see Get started with log queries in Azure Monitor. The activity log, which has a user interface in the Azure portal for viewing and basic searches.

Is application insights a feature of az900? ›

Suggested Answer: Application Insights is a feature of Azure Monitor that provides extensible application performance management (APM) and monitoring for live web apps.

What is application insights in Azure functions? ›

Application Insights, a feature of Azure Monitor, is an extensible Application Performance Management (APM) service that collects data generated by your function app, including information your app writes to logs. Application Insights integration is typically enabled when your function app is created.

Is Azure log Analytics part of Azure Monitor? ›

Log Analytics is just a powerful analysis tool within Azure Monitor. It extends the monitoring capabilities by enabling the querying and analysis of large volumes of log data across different Azure resources.

Top Articles
Why Your Student Loan Balance Never Seems to Get Any Smaller
Your smart TV is snooping on you. Here's how to limit the personal data it gathers
Le Blanc Los Cabos - Los Cabos – Le Blanc Spa Resort Adults-Only All Inclusive
Amateur Lesbian Spanking
Anki Fsrs
Phillies Espn Schedule
Www.paystubportal.com/7-11 Login
Craigslist Heavy Equipment Knoxville Tennessee
Whitley County Ky Mugshots Busted
How Many Slices Are In A Large Pizza? | Number Of Pizzas To Order For Your Next Party
Skylar Vox Bra Size
Persona 4 Golden Taotie Fusion Calculator
Ivegore Machete Mutolation
Peraton Sso
The Banshees Of Inisherin Showtimes Near Regal Thornton Place
Dr. med. Uta Krieg-Oehme - Lesen Sie Erfahrungsberichte und vereinbaren Sie einen Termin
Boston Gang Map
Spider-Man: Across The Spider-Verse Showtimes Near Marcus Bay Park Cinema
Plan Z - Nazi Shipbuilding Plans
Osborn-Checkliste: Ideen finden mit System
Craigslist Mt Pleasant Sc
Jalapeno Grill Ponca City Menu
Kayky Fifa 22 Potential
Kcwi Tv Schedule
Gilchrist Verband - Lumedis - Ihre Schulterspezialisten
Current Students - Pace University Online
Japanese Pokémon Cards vs English Pokémon Cards
1987 Monte Carlo Ss For Sale Craigslist
Lucky Larry's Latina's
Consume Oakbrook Terrace Menu
The Mad Merchant Wow
Unifi Vlan Only Network
Complete List of Orange County Cities + Map (2024) — Orange County Insiders | Tips for locals & visitors
St Anthony Hospital Crown Point Visiting Hours
Restored Republic June 6 2023
Dcilottery Login
Andrew Lee Torres
2007 Jaguar XK Low Miles for sale - Palm Desert, CA - craigslist
Ucsc Sip 2023 College Confidential
Sand Castle Parents Guide
Kenner And Stevens Funeral Home
N33.Ultipro
Ajpw Sugar Glider Worth
Joy Taylor Nip Slip
Big Brother 23: Wiki, Vote, Cast, Release Date, Contestants, Winner, Elimination
Bedbathandbeyond Flemington Nj
Laura Houston Wbap
The 5 Types of Intimacy Every Healthy Relationship Needs | All Points North
Hsi Delphi Forum
Salem witch trials - Hysteria, Accusations, Executions
Latest Posts
Article information

Author: Rob Wisoky

Last Updated:

Views: 5812

Rating: 4.8 / 5 (48 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Rob Wisoky

Birthday: 1994-09-30

Address: 5789 Michel Vista, West Domenic, OR 80464-9452

Phone: +97313824072371

Job: Education Orchestrator

Hobby: Lockpicking, Crocheting, Baton twirling, Video gaming, Jogging, Whittling, Model building

Introduction: My name is Rob Wisoky, I am a smiling, helpful, encouraging, zealous, energetic, faithful, fantastic person who loves writing and wants to share my knowledge and understanding with you.