Azure App Service monitoring integration

Access to this feature depends on your subscription level. Requires Infrastructure Pro.

New Relic Infrastructure provides an integration for Microsoft Azure App Service that reports data from Azure Apps Service to New Relic products. This document explains how to activate this integration and describes the data that can be captured.

Features

An Azure App Service is a service for hosting and running web applications, REST APIs, and mobile back ends in a fully managed platform. New Relic's integration for Azure App Service reports metric data about your Web Apps, including:

  • Number of requests received
  • Number of HTTP responses and errors

It also collects inventory data about the service's status and configuration. Using New Relic, you can:

  • View Azure Storage data in pre-built Infrastructure dashboards.
  • Run custom queries and visualize the data in New Relic Insights.
  • Create alert conditions to notify you of changes in Storage data.

Activate integration

Anyone can view and explore the Azure data reporting to your New Relic Infrastructure account.

Only Owner, Admins, or Infrastructure add-on managers can manage the Azure integrations.

To enable the integration:

  1. Make sure you have installed the Infrastructure agent before you activate Azure integrations from your Infrastructure account.
  2. Follow standard procedures to activate your Azure service in New Relic Infrastructure.

Configuration and polling

You can change the polling frequency and filter data using configuration options.

New Relic Infrastructure integrations query your Azure App Services according to a default polling interval, which varies depending on the integration. Polling frequency for the Azure App Services integration:

  • Polling interval: 5 minutes
  • Resolution: 1 data point per minute

Find and use data

To explore your integration data in Infrastructure, go to infrastructure.newrelic.com > Integrations > (select an integration).

The event types in New Relic Insights are:

  • AzureAppServiceWebAppSample: Represents each of the Azure App Service Web Apps in the account. Inventory data has a provider value of AzureAppServiceWebApp.
  • AzureAppServiceHostNameSample: Represents each of the domain names bound to a Web App that can be used for accessing it. Inventory data has a provider value of AzureAppServiceHostName.

Metric data

The Azure App Service integration reports the following metric data.

AzureAppServiceWebAppSample

Metric Description

cpuTimeSeconds

count

Total CPU time, in seconds.

requests

count

Total number of requests to the app.

receivedBytes

count

Total number of bytes received by the app.

sentBytes

count

Total number of bytes sent by the app.

http101

count

Total number of HTTP responses 101.

http2xx

count

Total number of HTTP responses 200-299.

http3xx

count

Total number of HTTP responses 300-399.

http401

count

Total number of HTTP responses 401.

http403

count

Total number of HTTP responses 403.

http404

count

Total number of HTTP responses 404.

http406

count

Total number of HTTP responses 406.

http4xx

count

Total number of HTTP responses 400-499.

http5xx

count

Total number of HTTP server errors 500-599.

memoryWorkingSetBytes

count

Total bytes of memory working set.

averageMemoryWorkingSetBytes

count

Average memory working set, in bytes.

averageResponseTimeSeconds

count

Average response time, in seconds.

Inventory data

The Azure App Service integration reports the following inventory data about your system's state and configuration.

azure/appservice/webapp/

  • alwaysOn
  • availabilityState
  • clientAffinityEnabled
  • clientCertEnabled
  • containerSize
  • defaultDocuments
  • detailedErrorLoggingEnabled
  • enabled
  • hostNamesDisabled
  • httpLoggingEnabled
  • isPremiumApp
  • linuxFxVersion
  • loadBalancing
  • logsDirectorySizeLimit
  • managedPipelineMode
  • netFrameworkVersion
  • numberOfWorkers
  • operatingSystem>
  • phpVersion
  • platformArchitecture
  • regionName
  • remoteDebuggingEnabled
  • resourceGroupName
  • scmSiteAlsoStopped<
  • scmType
  • state
  • type
  • usageState>
  • vnetName

azure/appservice/host-name

  • dnsRecordType
  • hostNameType
  • hostType
  • webAppName
  • name
  • providerAccountId
  • providerAccountName
  • sslState
  • virtualIp

For more help

Recommendations for learning more: