Azure App Service (App Service Plan, Web App Deployment Slot)

Dynatrace ingests metrics from Azure Metrics API for Azure App Service (App Service Plan, Web App Deployment Slot). You can view metrics for each service instance, split metrics into multiple dimensions, and create custom charts that you can pin to your dashboards.

Prerequisites

  • Dynatrace version 1.203+
  • Environment ActiveGate version 1.195+

Enable monitoring

To enable monitoring for this service, you first need to set up integration with Azure Monitor.

Add the service to monitoring

In order to view the service metrics, you must add the service to monitoring in your Dynatrace environment.

Configure service metrics

Once you add a service, Dynatrace starts automatically collecting a suite of metrics for this particular service. These are recommended metrics.

Recommended metrics:

  • Are enabled by default
  • Can't be disabled
  • Can have recommended dimensions (enabled by default, can't be disabled)
  • Can have optional dimensions (disabled by default, can be enabled).

Apart from the recommended metrics, most services have the possibility of enabling optional metrics.

Optional metrics:

  • Can be added and configured manually

View service metrics

Once you add the service to monitoring, you can view the service metrics in your Dynatrace environment either on your dashboard page or on the custom device overview page.

Import preset dashboards

Dynatrace provides preset Azure dashboards that you can import from GitHub to your environment's dashboard page. Once you download a preset dashboard locally, there are two ways to import it.

app-service-plan

deployment-slot

Available metrics

Azure App Service Plan

Name Description Dimensions Unit Recommended
BytesReceived Data in Instance Byte ✔️
BytesSent Data out Instance Byte ✔️
CpuPercentage CPU percentage Instance Percent ✔️
DiskQueueLength Disk queue length Instance Count ✔️
HttpQueueLength HTTP queue length Instance Count ✔️
MemoryPercentage Memory percentage Instance Percent ✔️
SocketInboundAll Socket inbound all Count
SocketLoopback Socket loopback Instance Count
SocketOutboundAll Socket Outbound All Count
SocketOutboundEstablished Socket outbound established Instance Count
SocketOutboundTimeWait Socket outbound time wait Instance Count
TcpCloseWait TCP close wait Instance Count
TcpClosing TCP closing Instance Count
TcpEstablished TCP established Instance Count
TcpFinWait1 TCP fin wait 1 Instance Count
TcpFinWait2 TCP fin wait 2 Instance Count
TcpLastAck TCP last ack Instance Count
TcpSynReceived TCP syn received Instance Count
TcpSynSent TCP syn sent Instance Count
TcpTimeWait TCP time wait Instance Count

Web App Deployment Slot

Name Description Dimensions Unit Recommended
CpuTime CPU time Instance Second ✔️
Requests Number of requests Instance Count ✔️
BytesReceived Bytes received Instance Byte ✔️
BytesSent Bytes sent Instance Byte ✔️
Http101 HTTP 101 server error Instance Count
Http2xx HTTP 2xx server error Instance Count
Http3xx HTTP 3xx server error Instance Count
Http401 HTTP 401 server error Instance Count
Http403 HTTP 403 server error Instance Count
Http404 HTTP 404 server error Instance Count
Http406 HTTP 406 server error Instance Count
Http4xx HTTP 4xx server error Instance Count ✔️
Http5xx HTTP 5xx server error Instance Count ✔️
MemoryWorkingSet Memory working set Instance Byte ✔️
AverageMemoryWorkingSet Average memory working set Instance Byte
AverageResponseTime Average response time Instance Second
HttpResponseTime HTTP response time Instance Second ✔️
AppConnections Number of App connections Instance Count
Handles Number of handles Instance Count
Threads Number of threads Instance Count
PrivateBytes Private bytes Instance Byte
IoReadBytesPerSecond IO read bytes per second Instance BytePerSecond ✔️
IoWriteBytesPerSecond IO write bytes per second Instance BytePerSecond ✔️
IoOtherBytesPerSecond IO other bytes per second Instance BytePerSecond
IoReadOperationsPerSecond IO read operations per second Instance BytePerSecond
IoWriteOperationsPerSecond IO write operations per second Instance BytePerSecond
IoOtherOperationsPerSecond IO other operations per second Instance BytePerSecond
RequestsInApplicationQueue Number of requests in application queue Instance Count
CurrentAssemblies Number of current assemblies Instance Count
TotalAppDomains Total number of App domains Instance Count
TotalAppDomainsUnloaded Total number of App domains unloaded Instance Count
Gen0Collections Number of Gen 0 collections Instance Count
Gen1Collections Number of Gen 1 collections Instance Count
Gen2Collections Number of Gen 2 collections Instance Count
HealthCheckStatus Health check status Instance Count
FileSystemUsage File system usage Byte