Monitoring Azure App Services

After you install the Instana host agent, the Azure App Services sensor is automatically installed and enabled. You can view metrics that are related to Azure App Services in the Instana UI.

For more information about other supported Azure services, see Azure.

Configuration

The Azure App Service sensor is enabled by default. You can disable the Azure App Service sensor and filter the Azure App Service sensor by using tags and resource groups. To configure the Azure App Service sensor, edit the agent configuration file, <agentinstall_dir>/etc/instana/configuration.yaml as follows:

com.instana.plugin.azure.appservice:
  # Valid values: true, false
  enabled: false # enabled (true) by default
  # Comma separated list of tags in key:value format
  include_tags:
  # Comma separated list of tags in key:value format
  exclude_tags:
  # Comma separated list of resource groups
  include_resource_groups:
  # Comma separated list of resource groups
  exclude_resource_groups:

You can disable the Azure App Service sensor. To disable monitoring of the Azure App Services, use the following configuration:

com.instana.plugin.azure.appservice:
  enabled: false

You can define multiple tags and resource groups and separate them by a comma. Tags must be provided as a key-value pair, which is separated by :. You can also define which tags and resource groups you want to include or exclude from discovery. If you define tags or resource groups in both lists (that is, the include and exclude lists), the exclude list has higher priority. If you don't need to use service filtering, do not define values to enable filtering.

To include services by tags into discovery, use the following configuration:

com.instana.plugin.azure.appservice:
  include_tags: # Comma separated list of tags in key:value format (e.g. env:prod,env:staging)

To exclude services by tags from discovery, use the following configuration:

com.instana.plugin.azure.appservice:
  exclude_tags: # Comma separated list of tags in key:value format (e.g. env:dev,env:test)

To include services by resource groups into discovery, use the following configuration:

com.instana.plugin.azure.appservice:
  include_resource_groups: # Comma separated list of resource groups (e.g. rg_prod,rg_staging)

To exclude services by resource groups from discovery, use the following configuration:

com.instana.plugin.azure.appservice:
  exclude_resource_groups: # Comma separated list of resource groups (e.g. rg_dev,rg_test)

You can enable the discovery filter on a global level for all Azure services. You can also define filters for a specific Azure service, which override global filters for that specific Azure service. For more information about global filters, see Azure configuration.

Viewing metrics

To view the metrics, complete the following steps:

  1. In the sidebar of the Instana UI, select Infrastructure.
  2. Click a specific monitored host.

You can see a host dashboard with all the collected metrics and monitored processes.

Metrics for App Services are pulled every minute, which is the resolution that Azure provides for the monitoring of these services.

Configuration data

App Service details Description
Name The name of the App Service.
Resource Group The resource group the App Service belongs to
Location The region where the App Service is located
Subscription ID The subscription ID of the App Service
State The current state of the App Service

Performance metrics

App Service Metric Description
Response times and requests
Response Time The response time for requests to your App Service
Total Requests Total number of requests within a minute
Queued Requests Number of requests that have been queued in a minute
HTTP status codes
Http 2xx Responses Number of HTTP responses with an HTTP status between 200 and 299
Http 4xx Responses Number of HTTP responses with an HTTP status between 400 and 499
Http 5xx Responses Number of HTTP responses with an HTTP status between 500 and 599
Network traffic metrics
Bytes sent Number of bytes sent
Bytes received Number of bytes received by the App Service
Garbage collection metrics
Generation 0 Number of garbage collection runs on Generation 0 within a minute
Generation 1 Number of garbage collection runs on Generation 1 within a minute
Generation 2 Number of garbage collection runs on Generation 2 within a minute

Instrumentation

Node.js Tracing

For more information about how to monitor a Node.js application that runs as an Azure App Service, see Azure App Service Tracing for Node.js.

.NET Tracing

For more information about how to monitor a .NET application that runs as an Azure App Service, see Azure App Service Tracing for .NET.