---
title: Azure App Services
description: Swift and easy creation of web and mobile apps for all platforms and devices.
breadcrumbs: Docs > Integrations > Azure App Services
---

# Azure App Services

## Overview{% #overview %}

Azure App Service is a platform-as-a-service (PaaS) that runs web, mobile, API, and business logic applications, while automatically managing the resources those apps require.

Use the Datadog integration to collect metrics from Azure App Service and:

- Visualize your app performance
- Correlate Azure App performance with the rest of your infrastructure

### Azure App Service view{% #azure-app-service-view %}

In addition to the Azure App Service preset dashboard, you can also use the dedicated Azure App Service view.

Use Azure App Service view to:

- Quickly identify apps with high latency or errors

- Track the utilization of your Web Apps, Function Apps, and App Service Plans

- Understand the costs of your App Service Plans by visualizing active instances and identifying which apps are submitting traces or logs to Datadog

- Map apps to their App Service Plans to identify apps that may be driving costs or affecting performance

To enable Datadog APM and custom metrics for applications running in Azure App Service, see [Datadog Azure App Service extension](https://docs.datadoghq.com/serverless/azure_app_services.md).

## Setup{% #setup %}

### Installation{% #installation %}

If you haven't already, set up the [Microsoft Azure integration](https://docs.datadoghq.com/integrations/azure.md). No additional installation steps are required.

For additional monitoring options such as log collection and trace ID injection, see [Azure App Service extension](https://docs.datadoghq.com/serverless/azure_app_services.md).

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

|  |
|  |
| **azure.app\_services.cpu\_time**(gauge)                                | The amount of CPU consumed by the app, in seconds. For more information about this metric. Please see:https://aka.ms/website-monitor-cpu-time-vs-cpu-percentage(CPU time vs CPU percentage). For WebApps only.*Shown as second*                        |
| **azure.app\_services.cpu\_time.max**(gauge)                            | The maximum amount of cpu time of the app (Max Aggregated)*Shown as second*                                                                                                                                                                            |
| **azure.app\_services.bytes\_received**(count)                          | The amount of incoming bandwidth consumed by the app, in MiB. For WebApps and FunctionApps.*Shown as byte*                                                                                                                                             |
| **azure.app\_services.bytes\_sent**(count)                              | The amount of outgoing bandwidth consumed by the app, in MiB. For WebApps and FunctionApps.*Shown as byte*                                                                                                                                             |
| **azure.app\_services.memory\_working\_set**(gauge)                     | The average memory used by the app*Shown as byte*                                                                                                                                                                                                      |
| **azure.app\_services.memory\_working\_set.max**(gauge)                 | The maximum memory used by the app (Max Aggregated)*Shown as byte*                                                                                                                                                                                     |
| **azure.app\_services.response\_time**(gauge)                           | The time taken for the app to serve requests*Shown as second*                                                                                                                                                                                          |
| **azure.app\_services.response\_time.max**(gauge)                       | The maximum time taken for the app to serve requests (Max Aggregated)*Shown as second*                                                                                                                                                                 |
| **azure.app\_services.count**(gauge)                                    | The count of Azure App Services resources                                                                                                                                                                                                              |
| **azure.app\_services.total\_app\_domains**(gauge)                      | The current number of App Domains loaded in this application                                                                                                                                                                                           |
| **azure.app\_services.total\_app\_domains\_unloaded**(gauge)            | The total number of App Domains unloaded since the start of the application                                                                                                                                                                            |
| **azure.app\_services.requests**(count)                                 | The total number of requests regardless of their resulting HTTP status code. For WebApps and FunctionApps.                                                                                                                                             |
| **azure.app\_services.requests\_in\_application\_queue**(gauge)         | The number of requests in the application request queue. For WebApps and FunctionApps.                                                                                                                                                                 |
| **azure.app\_services.thread\_count**(gauge)                            | The number of threads currently active in the app process. For WebApps and FunctionApps.                                                                                                                                                               |
| **azure.app\_services.webjob\_count**(gauge)                            | The current number of WebJobs configured per WebApp.                                                                                                                                                                                                   |
| **azure.app\_services.handle\_count**(gauge)                            | The total number of handles currently open by the app process. For WebApps and FunctionApps.                                                                                                                                                           |
| **azure.web\_sites\_slots.app\_connections**(count)                     | 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().                           |
| **azure.web\_sites\_slots.average\_memory\_working\_set**(gauge)        | The average amount of memory used by the app, in megabytes (MiB).*Shown as byte*                                                                                                                                                                       |
| **azure.web\_sites\_slots.average\_response\_time**(count)              | The average time taken for the app to serve requests, in seconds.*Shown as second*                                                                                                                                                                     |
| **azure.web\_sites\_slots.bytes\_received**(gauge)                      | Data In*Shown as byte*                                                                                                                                                                                                                                 |
| **azure.web\_sites\_slots.bytes\_sent**(gauge)                          | Data Out*Shown as byte*                                                                                                                                                                                                                                |
| **azure.web\_sites\_slots.cpu\_time**(gauge)                            | The amount of CPU consumed by the app, in seconds. For more information about this metric. Please see:https://aka.ms/website-monitor-cpu-time-vs-cpu-percentage(CPU time vs CPU percentage).*Shown as second*                                          |
| **azure.web\_sites\_slots.current\_assemblies**(gauge)                  | The current number of Assemblies loaded across all AppDomains in this application.                                                                                                                                                                     |
| **azure.web\_sites\_slots.file\_system\_usage**(gauge)                  | Percentage of filesystem quota consumed by the app.*Shown as byte*                                                                                                                                                                                     |
| **azure.web\_sites\_slots.function\_execution\_count**(count)           | Function Execution Count                                                                                                                                                                                                                               |
| **azure.web\_sites\_slots.function\_execution\_units**(count)           | Function Execution Units                                                                                                                                                                                                                               |
| **azure.web\_sites\_slots.gen0\_collections**(count)                    | The number of times the generation 0 objects are garbage collected since the start of the app process. Higher generation GCs include all lower generation GCs.                                                                                         |
| **azure.web\_sites\_slots.gen1\_collections**(count)                    | The number of times the generation 1 objects are garbage collected since the start of the app process. Higher generation GCs include all lower generation GCs.                                                                                         |
| **azure.web\_sites\_slots.gen2\_collections**(count)                    | The number of times the generation 2 objects are garbage collected since the start of the app process.                                                                                                                                                 |
| **azure.web\_sites\_slots.handles**(count)                              | The total number of handles currently open by the app process.                                                                                                                                                                                         |
| **azure.web\_sites\_slots.health\_check\_status**(gauge)                | Health check status                                                                                                                                                                                                                                    |
| **azure.web\_sites\_slots.http101**(count)                              | The count of requests resulting in an HTTP status code 101.                                                                                                                                                                                            |
| **azure.web\_sites\_slots.http2xx**(count)                              | The count of requests resulting in an HTTP status code = 200 but < 300.                                                                                                                                                                                |
| **azure.web\_sites\_slots.http3xx**(count)                              | The count of requests resulting in an HTTP status code = 300 but < 400.                                                                                                                                                                                |
| **azure.web\_sites\_slots.http401**(count)                              | The count of requests resulting in HTTP 401 status code.                                                                                                                                                                                               |
| **azure.web\_sites\_slots.http403**(count)                              | The count of requests resulting in HTTP 403 status code.                                                                                                                                                                                               |
| **azure.web\_sites\_slots.http404**(count)                              | The count of requests resulting in HTTP 404 status code.                                                                                                                                                                                               |
| **azure.web\_sites\_slots.http406**(count)                              | The count of requests resulting in HTTP 406 status code.                                                                                                                                                                                               |
| **azure.web\_sites\_slots.http4xx**(count)                              | The count of requests resulting in an HTTP status code = 400 but < 500.                                                                                                                                                                                |
| **azure.web\_sites\_slots.http5xx**(count)                              | The count of requests resulting in an HTTP status code = 500 but < 600.                                                                                                                                                                                |
| **azure.web\_sites\_slots.http\_response\_time**(gauge)                 | The time taken for the app to serve requests, in seconds.*Shown as second*                                                                                                                                                                             |
| **azure.web\_sites\_slots.io\_other\_bytes\_per\_second**(count)        | The rate at which the app process is issuing bytes to I/O operations that don't involve data, such as control operations.*Shown as byte*                                                                                                               |
| **azure.web\_sites\_slots.io\_other\_operations\_per\_second**(count)   | The rate at which the app process is issuing I/O operations that aren't read or write operations.*Shown as byte*                                                                                                                                       |
| **azure.web\_sites\_slots.io\_read\_bytes\_per\_second**(count)         | The rate at which the app process is reading bytes from I/O operations.*Shown as byte*                                                                                                                                                                 |
| **azure.web\_sites\_slots.io\_read\_operations\_per\_second**(count)    | The rate at which the app process is issuing read I/O operations.*Shown as byte*                                                                                                                                                                       |
| **azure.web\_sites\_slots.io\_write\_bytes\_per\_second**(count)        | The rate at which the app process is writing bytes to I/O operations.*Shown as byte*                                                                                                                                                                   |
| **azure.web\_sites\_slots.io\_write\_operations\_per\_second**(count)   | The rate at which the app process is issuing write I/O operations.*Shown as byte*                                                                                                                                                                      |
| **azure.web\_sites\_slots.memory\_working\_set**(gauge)                 | The current amount of memory used by the app, in MiB.*Shown as byte*                                                                                                                                                                                   |
| **azure.web\_sites\_slots.private\_bytes**(gauge)                       | Private Bytes is the current size, in bytes, of memory that the app process has allocated that can't be shared with other processes.*Shown as byte*                                                                                                    |
| **azure.web\_sites\_slots.requests**(count)                             | The total number of requests regardless of their resulting HTTP status code.                                                                                                                                                                           |
| **azure.web\_sites\_slots.requests\_in\_application\_queue**(gauge)     | The number of requests in the application request queue.                                                                                                                                                                                               |
| **azure.web\_sites\_slots.scm\_cpu\_time**(count)                       | ScmCpuTime*Shown as second*                                                                                                                                                                                                                            |
| **azure.web\_sites\_slots.scm\_private\_bytes**(gauge)                  | ScmPrivateBytes*Shown as byte*                                                                                                                                                                                                                         |
| **azure.web\_sites\_slots.threads**(count)                              | The number of threads currently active in the app process.                                                                                                                                                                                             |
| **azure.web\_sites\_slots.total\_app\_domains**(gauge)                  | The current number of AppDomains loaded in this application.                                                                                                                                                                                           |
| **azure.web\_sites\_slots.total\_app\_domains\_unloaded**(gauge)        | The total number of AppDomains unloaded since the start of the application.                                                                                                                                                                            |
| **azure.web\_sites\_slots.count**(gauge)                                | The count of all app deployment slots resources                                                                                                                                                                                                        |
| **azure.app\_services.connections**(gauge)                              | 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(). For webapps and functionapps. |
| **azure.app\_services.average\_memory\_working\_set**(gauge)            | Average amount of memory used by the app, in megabytes (mib). For webapps and functionapps.*Shown as byte*                                                                                                                                             |
| **azure.app\_services.average\_response\_time**(gauge)                  | Average time taken for the app to serve requests, in seconds. For webapps and functionapps.*Shown as second*                                                                                                                                           |
| **azure.app\_services.current\_assemblies**(gauge)                      | Current number of assemblies loaded across all appdomains in this application. For webapps and functionapps.                                                                                                                                           |
| **azure.app\_services.file\_system\_usage**(gauge)                      | Percentage of filesystem quota consumed by the app. For webapps and functionapps.*Shown as byte*                                                                                                                                                       |
| **azure.app\_services.function\_execution\_count**(count)               | Function execution count. For functionapps only.                                                                                                                                                                                                       |
| **azure.app\_services.function\_execution\_units**(count)               | Function execution units. For functionapps only.                                                                                                                                                                                                       |
| **azure.app\_services.gen\_0\_garbage\_collections**(count)             | Number of times the generation 0 objects are garbage collected since the start of the app process. Higher generation gcs include all lower generation gcs. For webapps and functionapps.                                                               |
| **azure.app\_services.gen\_1\_garbage\_collections**(count)             | Number of times the generation 1 objects are garbage collected since the start of the app process. Higher generation gcs include all lower generation gcs. For webapps and functionapps.                                                               |
| **azure.app\_services.gen\_2\_garbage\_collections**(count)             | Number of times the generation 2 objects are garbage collected since the start of the app process. For webapps and functionapps.                                                                                                                       |
| **azure.app\_services.health\_check\_status**(gauge)                    | Health check status. For webapps and functionapps.                                                                                                                                                                                                     |
| **azure.app\_services.http101**(count)                                  | Count of requests resulting in an HTTP status code 101. For webapps and functionapps.                                                                                                                                                                  |
| **azure.app\_services.http2xx**(count)                                  | Count of requests resulting in an HTTP status code greater than or equal to 200 but less than 300. For webapps and functionapps.                                                                                                                       |
| **azure.app\_services.http3xx**(count)                                  | Count of requests resulting in an HTTP status code greater than or equal to 300 but less than 400. For webapps and functionapps.                                                                                                                       |
| **azure.app\_services.http401**(count)                                  | Count of requests resulting in HTTP 401 status code. For webapps and functionapps.                                                                                                                                                                     |
| **azure.app\_services.http403**(count)                                  | Count of requests resulting in HTTP 403 status code. For webapps and functionapps.                                                                                                                                                                     |
| **azure.app\_services.http404**(count)                                  | Count of requests resulting in HTTP 404 status code. For webapps and functionapps.                                                                                                                                                                     |
| **azure.app\_services.http406**(count)                                  | Count of requests resulting in HTTP 406 status code. For webapps and functionapps.                                                                                                                                                                     |
| **azure.app\_services.http4xx**(count)                                  | Count of requests resulting in an HTTP status code greater than or equal to 400 but less than 500. For webapps and functionapps.                                                                                                                       |
| **azure.app\_services.http5xx**(count)                                  | Count of requests resulting in an HTTP status code greater than or equal to 500 but less than 600. For webapps and functionapps.                                                                                                                       |
| **azure.app\_services.automatic\_scaling\_instance\_count**(gauge)      | Number of instances on which this app is running.                                                                                                                                                                                                      |
| **azure.app\_services.io\_other\_bytes\_per\_second**(count)            | Rate at which the app process is issuing bytes to I/O operations that don't involve data, such as control operations. For webapps and functionapps.*Shown as byte*                                                                                     |
| **azure.app\_services.io\_other\_operations\_per\_second**(count)       | Rate at which the app process is issuing I/O operations that aren't read or write operations. For webapps and functionapps.*Shown as byte*                                                                                                             |
| **azure.app\_services.io\_read\_bytes\_per\_second**(count)             | Rate at which the app process is reading bytes from I/O operations. For webapps and functionapps.*Shown as byte*                                                                                                                                       |
| **azure.app\_services.io\_read\_operations\_per\_second**(count)        | Rate at which the app process is issuing read I/O operations. For webapps and functionapps.*Shown as byte*                                                                                                                                             |
| **azure.app\_services.io\_write\_bytes\_per\_second**(count)            | Rate at which the app process is writing bytes to I/O operations. For webapps and functionapps.*Shown as byte*                                                                                                                                         |
| **azure.app\_services.io\_write\_operations\_per\_second**(count)       | Rate at which the app process is issuing write I/O operations. For webapps and functionapps.*Shown as byte*                                                                                                                                            |
| **azure.app\_services.private\_bytes**(gauge)                           | Private bytes is the current size, in bytes, of memory that the app process has allocated that can't be shared with other processes. For webapps and functionapps.*Shown as byte*                                                                      |
| **azure.app\_services.workflow\_action\_completed\_count**(count)       | Workflow action completed count. For logicapps only.                                                                                                                                                                                                   |
| **azure.app\_services.workflow\_actions\_failure\_rate**(count)         | Workflow actions failure rate. For logicapps only.*Shown as percent*                                                                                                                                                                                   |
| **azure.app\_services.logic\_app\_job\_pull\_rate\_per\_second**(count) | Logic job pull rate per second. For logicapps only.                                                                                                                                                                                                    |
| **azure.app\_services.workflow\_job\_execution\_delay**(gauge)          | Workflow job execution delay. For logicapps only.*Shown as second*                                                                                                                                                                                     |
| **azure.app\_services.workflow\_job\_execution\_duration**(gauge)       | Workflow job execution duration. For logicapps only.*Shown as second*                                                                                                                                                                                  |
| **azure.app\_services.workflow\_runs\_completed\_count**(count)         | Workflow runs completed count. For logicapps only.                                                                                                                                                                                                     |
| **azure.app\_services.workflow\_runs\_dispatched\_count**(count)        | Workflow runs dispatched count. For logicapps only.                                                                                                                                                                                                    |
| **azure.app\_services.workflow\_runs\_failure\_rate**(count)            | Workflow runs failure rate. For logicapps only.*Shown as percent*                                                                                                                                                                                      |
| **azure.app\_services.workflow\_runs\_started\_count**(count)           | Workflow runs started count. For logicapps only.                                                                                                                                                                                                       |
| **azure.app\_services.workflow\_triggers\_completed\_count**(count)     | Workflow triggers completed count. For logicapps only.                                                                                                                                                                                                 |
| **azure.app\_services.workflow\_triggers\_failure\_rate**(count)        | Workflow triggers failure rate. For logicapps only.*Shown as percent*                                                                                                                                                                                  |
| **azure.app\_services.enhanced.cold\_start**(count)                     | Number of times a web app initialized with a cold start.*Shown as event*                                                                                                                                                                               |
| **azure.app\_services.enhanced.shutdown**(count)                        | Number of times a web app shut down.*Shown as event*                                                                                                                                                                                                   |
| **azure.app\_services.enhanced.cpu.limit**(gauge)                       | The maximum CPU available to a web app.*Shown as nanocore*                                                                                                                                                                                             |
| **azure.app\_services.enhanced.cpu.usage**(gauge)                       | The total CPU usage for a web app.*Shown as nanocore*                                                                                                                                                                                                  |

### Events{% #events %}

The Azure App Service integration does not include any events.

### Service Checks{% #service-checks %}

The Azure App Service integration does not include any service checks.

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
