• Home
  • Deploy Dynatrace
  • Set up Dynatrace on cloud platforms
  • Microsoft Azure
  • Integrations
  • Monitor Azure App Service
  • Enable Deployment Slot metrics

Enable Deployment Slot metrics

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.

To add a service to monitoring
  1. In the Dynatrace menu, go to Settings > Cloud and virtualization and select Azure.
  2. On the Azure overview page, select Edit for the desired Azure instance.
  3. Go to Services and select Add service, choose the desired service name from the list, and select Add service.
  4. Select Save changes to save your configuration.

Monitor resources based on tags

You can choose to monitor resources based on existing Azure tags, as Dynatrace automatically imports them from service instances.

To monitor resources based on tags

  1. In the Dynatrace menu, go to Settings > Cloud and virtualization > Azure and select Edit for the desired Azure instance.
  2. For Resources to be monitored, select Monitor resources selected by tags.
  3. Enter the Key and Value.
  4. Select Save to save your configuration.

Note: To import the Azure tags automatically into Dynatrace, enable Capture Azure tags automatically.

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
To add and configure metrics
  1. In the Dynatrace menu, go to Settings > Cloud and virtualization and select Azure.
  2. On the Azure overview page, scroll down and select Edit for the desired Azure instance.
  3. Go to Services and select Manage services.
  4. To add a metric, select the service for which you want to add metrics.
  5. Select Add new metric.
  6. From the menu, select the metric you want.
  7. Select Add metric to add the metric to monitoring.
  8. To configure a metric, select Edit.
  9. Select Apply to save your configuration.

View service metrics

You can view the service metrics in your Dynatrace environment either on the custom device overview page or on your Dashboards page.

View metrics on the custom device overview page

To access the custom device overview page

  1. In the Dynatrace menu, go to Technologies.
  2. Filter by service name and select the relevant custom device group.
  3. Once you select the custom device group, you're on the custom device group overview page.
  4. The custom device group overview page lists all instances (custom devices) belonging to the group. Select an instance to view the custom device overview page.

View metrics on your dashboard

Once you add a service to monitoring, a preset dashboard for the respective service containing all recommended metrics is automatically created on your Dashboards page. You can look for specific dashboards by filtering by Preset and then by Name.

Note: For existing monitored services, you might need to resave your credentials for the preset dashboard to appear on the Dashboards page. To resave your credentials, go to Settings > Cloud and virtualization > Azure, select the desired Azure instance, then select Save.

You can't make changes on a preset dashboard directly, but you can clone and edit it. To clone a dashboard, open the browse menu (…) and select Clone.
To remove a dashboard from the dashboards list, you can hide it. To hide a dashboard, open the browse menu (…) and select Hide.

Note: Hiding a dashboard doesn't affect other users.

Clone hide azure

Deployment slot

Available metrics

NameDescriptionDimensionsUnitRecommended
CpuTimeCPU timeInstanceSecond✔️
RequestsNumber of requestsInstanceCount✔️
BytesReceivedBytes receivedInstanceByte✔️
BytesSentBytes sentInstanceByte✔️
Http101HTTP 101 server errorInstanceCount
Http2xxHTTP 2xx server errorInstanceCount
Http3xxHTTP 3xx server errorInstanceCount
Http401HTTP 401 server errorInstanceCount
Http403HTTP 403 server errorInstanceCount
Http404HTTP 404 server errorInstanceCount
Http406HTTP 406 server errorInstanceCount
Http4xxHTTP 4xx server errorInstanceCount✔️
Http5xxHTTP 5xx server errorInstanceCount✔️
MemoryWorkingSetMemory working setInstanceByte✔️
AverageMemoryWorkingSetAverage memory working setInstanceByte
AverageResponseTimeAverage response timeInstanceSecond
HttpResponseTimeHTTP response timeInstanceSecond✔️
AppConnectionsNumber of App connectionsInstanceCount
HandlesNumber of handlesInstanceCount
ThreadsNumber of threadsInstanceCount
PrivateBytesPrivate bytesInstanceByte
IoReadBytesPerSecondIO read bytes per secondInstanceBytePerSecond✔️
IoWriteBytesPerSecondIO write bytes per secondInstanceBytePerSecond✔️
IoOtherBytesPerSecondIO other bytes per secondInstanceBytePerSecond
IoReadOperationsPerSecondIO read operations per secondInstanceBytePerSecond
IoWriteOperationsPerSecondIO write operations per secondInstanceBytePerSecond
IoOtherOperationsPerSecondIO other operations per secondInstanceBytePerSecond
RequestsInApplicationQueueNumber of requests in application queueInstanceCount
CurrentAssembliesNumber of current assembliesInstanceCount
TotalAppDomainsTotal number of App domainsInstanceCount
TotalAppDomainsUnloadedTotal number of App domains unloadedInstanceCount
Gen0CollectionsNumber of Gen 0 collectionsInstanceCount
Gen1CollectionsNumber of Gen 1 collectionsInstanceCount
Gen2CollectionsNumber of Gen 2 collectionsInstanceCount
HealthCheckStatusHealth check statusInstanceCount
FileSystemUsageFile system usageByte