Monitoring Azure Application Gateway

Instana monitors your Azure Application Gateway by providing end-to-end visibility into your environment. After you install the Instana host agent, the Azure Application Gateway sensor is automatically installed and enabled. You can view the infrastructure metrics that are related to the Azure Application Gateway in the Instana UI.

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

Configuring the Azure Application Gateway sensor

To configure the Azure Application Gateway, complete the following steps:

  1. Enable the Azure service in the agent configuration file <agentinstall_dir>/etc/instana/configuration.yaml by using the following configuration:

    com.instana.plugin.azure:
      enabled: true
      subscription: "[Your-Subscription-Id]"
      tenant: "[Your-Tenant-Id]"
      principals:
        - id: "[Your-Service-Principal-Account-Id]"
          secret: "[Your-Service-Principal-Secret]"
    

    For more information about installing the Azure agent, see Installation.

  2. Make sure the Azure Application Gateway sensor is enabled in the agent configuration file <agentinstall_dir>/etc/instana/configuration.yaml:

    com.instana.plugin.azure.applicationgateway:
    enabled: true
    

Defining tags and resource groups for service filtering

You can define multiple tags and resource groups that are separated by a comma. You must define the tags as key-value pairs that are separated by a colon :. To simplify the configuration, you must define the tags and resource groups for inclusion or exclusion in discovery. If a tag or resource group is defined in both include and exclude lists, the excluded list takes precedence. If you want to include all services without filtering, then you must not define any configuration.

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

    com.instana.plugin.azure.applicationgateway:
      include_tags: # Comma separated list of tags in key:value format (e.g. env:prod,env:staging)
    
  • To exclude services with tags from discovery, use the following configuration:

    com.instana.plugin.azure.applicationgateway:
      exclude_tags: # Comma separated list of tags in key:value format (e.g. env:dev,env:test)
    
  • To include services with resource groups into discovery, use the following configuration:

    com.instana.plugin.azure.applicationgateway:
      include_resource_groups: # Comma separated list of resource groups (e.g. rg_prod,rg_staging)
    
  • To exclude services with resource groups from discovery, use the following configuration:

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

You can configure discovery filtering on the global level for all Azure services. When you define filters for Azure Application Gateway, global filters are overridden. For more information about the global discovery filtering of the Azure service, see Azure Configuration.

Disabling the Azure Application Gateway sensor

To disable monitoring of the Azure Application Gateway services, use the following configuration:

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

Viewing metrics

To view the metrics, complete the following steps:

  1. From the navigation menu in the Instana UI, select Infrastructure.
  2. Click the monitored host for which you want to view the metrics.

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

To monitor services, Azure collects metrics every minute.

Configuration data

Namespace details Description
Name The name of the Application Gateway
Resource group The resource group of the Application Gateway
Location The location of the Application Gateway
Type The type of the resource Application Gateway
Provisioning state The provisioning state of the Application Gateway

Performance metrics

Metric Name Unit Aggregation Description
Throughput
Bytes Throughput Byte Average The Number of bytes per second that the Application Gateway serves
Host Count
Count HealthyHostCount Count Average The number of backends that are determined healthy by the health probe
Count UnhealthyHostCount Count Average The number of backends that are determined unhealthy by the health probe
Percentage HostCountUnhealthyPercentage Percent Average The percentage of unhealthy backend hosts
Requests
Count TotalRequests Count Total Count of successful requests that Application Gateway has served
Count FailedRequests Count Total The Number of requests that fails due to connection issues
Percentage RequestsFailedPercentage Percent Total The percentage of failed requests that Application Gateway serves
Connections
Count CurrentConnections Count Total The total number of concurrent connections that are active from clients to the Application Gateway
Compute Units
Count ComputeUnits Count Average The count of consumed processor capacity
BYTES
Bytes BytesSent Byte Total The total number of bytes that the Application Gateway receives from clients
Bytes BytesReceived Byte Total The total number of bytes that the Application Gateway receives from the clients
Application Gateway Total Time
Duration Application Gateway Total Time Milliseconds Average The total time required to process a request and send a response