Ensure that Application Insights feature is enabled for all your Microsoft Azure App Services web applications in order to provide advanced application monitoring. Application Insights is an extensible Application Performance Management (APM) service for developers and DevOps professionals available as monitoring feature within Azure cloud. The feature monitors your live App Services applications to automatically detect performance anomalies. Application Insights includes powerful analytics tools that help you diagnose issues and understand what the end users actually do with your application. Application Insights can be enabled for apps on a wide variety of platforms including .NET, Node.js and Java EE, hosted on-premises, hybrid, or any other public cloud platforms. It seamlessly integrates with your DevOps processes and has connection points to a variety of development tools.
Application Insights can monitor the following:
Request rates, response times and failure rates - find out which web pages are the most popular, at what times of the day, and where your end users are. Also, find out which pages perform best.
Dependency rates, response times and failure rates - find out whether external services are slowing down your web application.
Server and browser exceptions - analyze the aggregated statistics available or pick specific instances and drill into the stack trace and related requests.
Page views and load performance - performance data reported by the end users' browsers.
AJAX calls from web pages - rates, response times and failure rates.
User and session counts.
Performance counters from your Linux or Windows virtual machines, such as CPU, memory and network usage.
Host diagnostics from Docker or Azure cloud.
Diagnostic trace logs from your web application - useful to correlate trace events with requests.
Custom events and metrics that you write yourself to track business events such as items sold and customer retention.
This rule resolution is part of the Cloud Conformity solution
Application Insights is designed to help you continuously improve your web application performance and usability. The feature provides instant visibility into your application's performance across all components and dependencies. It includes powerful analytics tools to help you diagnose issues and to understand what the end users actually do with your website/web application.
Note: As example, this conformity rule demonstrates how to check and enable the Application Insights monitoring feature for an ASP.NET web application.
To determine if your Azure App Services applications are using the Application Insights feature, perform the following actions:
Remediation / Resolution
To enable Application Insights feature for your Microsoft Azure App Services web applications in order to collect application monitoring data, perform the following actions:
- Azure Official Documentation
- App Service
- Azure Monitor Frequently Asked Questions
- What is Application Insights?
- Monitor Azure App Service performance
- Create an Application Insights resource
Unlock the Remediation Steps
Gain free unlimited access
to our full Knowledge Base
Over 750 rules & best practices
You are auditing:
Enable Application Insights
Risk level: Medium