Help Azure App Service Monitoring

Azure App Service Monitoring Integration

Microsoft Azure enables you to create applications fast. You can easily create enterprise-ready web and mobile apps for any platform or device and deploy them on scalable and reliable cloud infrastructures using Azure App Service.

With Site24x7's integration support with Azure App Service, you can now monitor your hosted applications with accurate metrics, configure thresholds, and get instant alerts when there is a threshold breach.

Table of contents

Setup and configuration

  • Adding Azure App Service while configuring new Azure monitor

If you haven't configured an Azure monitor yet, add one by following the steps below:

    1. Choose Cloud from the left navigation pane, and select Azure > Add Azure Monitor. You can also follow these steps to add an Azure Monitor.
    2. During Azure monitor configuration, in the Edit Azure Monitor page, select Azure App Service from the Service/Resource Types drop-down.
  • Adding Azure App Service to an existing Azure monitor

If you already have an Azure monitor configured for the tenant, you can add the Azure App Service using the following steps:

    1. Navigate to the Infrastructure Dashboard, Inventory Dashboard, or Management Actions from the left navigation pane of the Azure Monitor for which you wish to add Azure App Service.
    2. Click this  icon and then the Edit option, which will bring you to the Edit Azure Monitor page.
    3. In the Edit Azure Monitor page, select the corresponding Subscription and the Resource Group from the drop-down menu and select Azure App Service from the Service/Resource Types drop-down and click Save.

After successful configuration, go to Cloud > Azure, select Azure App Service from the the Azure monitor drop-down. Now you can view the discovered App services.

It will take up to 15-30 minutes to discover new Azure resources. For the immediate discovery of the selected configuration, go to the Infrastructure Dashboard of the Azure monitor and click the Discover Now option from this  icon.

Polling frequency

Site24x7's Azure App Service monitor collects the metric data of every minute and the statuses from your applications in a five minute interval.

Supported metrics

The following metrics are collected:

Metric nameDescriptionStatisticUnit
Connections The number of bound sockets existing in the sandbox (w3wp.exe and its child processes). A bound socket is created by calling bind()/connect() APIs and remains until said socket is closed with CloseHandle()/closesocket() Average Count
Average Memory Working Set The average amount of memory used by the app Average Bytes
Average Response Time The average time taken for the app to serve requests Average Seconds
Data In The amount of incoming bandwidth consumed by the app Average  Bytes
Data Out The amount of outgoing bandwidth consumed by the app Average  Bytes
CPU Time The amount of CPU consumed by the app Average  Seconds
Current Assemblies The current number of assemblies loaded across all AppDomains in the application Average  Count
Gen 0 Garbage Collections The number of times the generation 0 objects are garbage collected since the start of the app process. Higher generation garbage collections (GCs) include all lower generation GCs Average  Count
Gen 1 Garbage Collections  The number of times the Gen 1 objects are garbage collected since the start of the app process. Higher generation GCs include all lower generation GCs Average  Count
Gen 2 Garbage Collections The number of times the Gen 2 objects are garbage collected since the start of the app process Average  Count
Handle Count  The total number of handles currently opened by the app process Average Count
Http 2xx  The count of requests resulting in an HTTP status code greater than or equal to 200 but less than 300 Average Count
Http 3xx  The count of requests resulting in an HTTP status code greater than or equal to 300 but less than 400 Average Count
Http 4xx  The count of requests resulting in an HTTP status code greater than or equal to 400 but less than 500 Average Count
Http Server Errors The count of requests resulting in an HTTP status code greater than or equal to 500 but less than 600 Average Count
IO Other Bytes per Second The rate at which the app process is issuing bytes to   input or output (I/O) operations that don't involve data, such as control operations Average Bytes per second
IO Other Operations per Second The rate at which the app process is issuing I/O operations that aren't read or write operations Average Bytes per second
IO Read Bytes per Second  The rate at which the app process is reading bytes from I/O operations Average Bytes per second
IO Read Operations per Second The rate at which the app process is issuing read I/O operations Average Bytes per second
IO Write Bytes per Second The rate at which the app process is writing bytes to I/O operations Average Bytes per second
IO Write Operations per Second The rate at which the app process is issuing write I/O operations Average Bytes per second

Threshold configuration

  • Global configuration
    1. Go to the Admin section on the left navigation pane.
    2. Select Configuration Profiles from the left pane and choose the Threshold and Availability (+) tab from the drop-down menu.
    3. Choose the monitor type as Azure App Service.

You can set the threshold values for all the metrics mentioned above.

  • Monitor-level configuration
    1. Go to Cloud > Azure and select Azure App Service from the drop-down menu.
    2. Choose a resource for which you would like to set a threshold and then click this  icon on the top. Choose the Edit option, which directs you to the Edit Azure App Service Monitor page.
    3. You can set the threshold values for the metrics by selecting the Threshold and Availability option. You can also configure IT automation at the attribute level.

Azure Threshold Configuration

IT automation

Site24x7 offers a set of exclusive IT automation tools to auto-resolve performance degradation issues. These react to an event or incident proactively rather than waiting for manual intervention. These tools help automate repetitive tasks and automatically remediate threshold breaches.

How to configure IT automations for a monitor

Configuration Rules

Editing multiple monitors to configure Threshold profile, Notification profile, Tags, Monitor groups and other settings can be a tedious process. With the Configuration Rules, you can automate the configuration settings of your monitoring resources. While adding new monitors, you can run a check, and associate any of the previously created rules that match the monitor configurations.

How to add a configuration rule

Summary

The summary tab will show the performance data organized by time for the above-mentioned metrics.

  1. To view the summary, go to Cloud > Azure, click the Azure monitor > Azure App Service.
  2. Click a resource and select the Summary tab.
If the Resource Log option is enabled, you can also view the stats of the HTTP status code and the response time analysis.

Server Summary Stats


Configuration Details

The Configuration Details tab provides details of an application instance. Here, you will find the enabled Host Names, Site Properties, SSL Certificates, Server Farm Details, and so on.

  1. To get the configuration details, go to Cloud > Azure and click the Azure monitor > Azure App Service.
  2. Click a resource and select the Configuration Details tab.

Resource Logs

Monitor the operations performed within the Azure App Service resources. On enabling this integration, Site24x7 will create a unique resource group, "Site24x7Applogs-<location>", and more new resources including Storage Account, Event Grid, and Function App in the location where the resource is present. Using these newly created resources, logs will be collected from every resource present in that location in real time.

Highlights:

  • View all your diagnostic and resource logs in one place.
  • Get powerful insights and receive alerts from your log data with just a button click.
  • Correlate logs along with other monitoring data.
  • Gain support for complex queries like Groupby, Timeslice, and more.
  • Gain out-of-the-box support for most log types. If you don't find a log type, post it in our community and we will add it for you.

To enable this feature, follow the steps below:

  1. Go to Cloud > Azure and click the Azure monitor > Azure App Service.
  2. Click a resource and select the Resource Logs tab.
  3. Click Enable Resource Log Collection and select the log categories to be monitored.

In the next data collection, the logs will be collected and displayed as you can see here.

Azure Resource Logs

Forecast

The Forecasting Engine of Site24x7 enables you to predict the future points of Azure App Service performance metrics based on historical observations. To predict your metric value for the next seven days, it takes about fifteen to thirty days of historical data to observe.

  1. You can view the forecast charts by navigating to the Cloud section in the left navigation pane.
  2. Select Azure App Service from the Azure drop-down, click a resource, and then choose the Forecast tab.
Azure Forecast

Reports

Gain in-depth data about the various parameters of your monitored resources and accentuate your service performance using our insightful reports.

To view reports for Azure App Service:

  1. Navigate to the Reports section on the left navigation pane.
  2. Select Azure App Service from the menu on the left.

You can find the Availability Summary Report and the Performance Report for the selected monitor. You can also get the Inventory Report, Summary Report, Availability Summary Report, Health Trend Report, and the Performance Report for all the Azure App Service monitors.

Azure Reports

You can also get reports from the Summary tab of the App Service Monitor.

  • Go to the Summary tab of a resource, and get the Availability Summary Report of the monitor by clicking on Availability or Downtime. Similarly, you can view the Performance Report of the monitor by clicking on any chart title.
Availability and Downtime report

 Check out the list of reports offered by Site24x7 for your individual monitor types.

Related links:

How to add an Azure monitor.
How to integrate Azure Virtual Machine monitor.
How to integrate Azure Network Interface monitor.
How to configure IT automations for a monitor.
How are Resource Logs collected from Azure.

Was this document helpful?
Thanks for taking the time to share your feedback. We’ll use your feedback to improve our online help resources.

Help Azure App Service Monitoring