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 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 > Azure > (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

To view metrics reported by the Azure App Service integration, query the AzureAppServiceWebAppSample event type in Insights. Use the metadata associated with each metric to filter and facet the data being reported. For detailed metric information, see the Azure supported metrics documentation.

Metric Description Metadata
appConnections Average number of connections.

instance

averageMemoryWorkingSetBytes

Average memory working set, in bytes.

instance

averageResponseTimeSeconds

Average response time, in seconds.

instance

cpuTimeSeconds

Total CPU time, in seconds.

instance

currentAssemblies Average number of current assemblies.

instance

handles Average number of resources handled.

instance

gen0Collections Total number of Gen 0 garbage collections.

instance

gen1Collections Total number of Gen 1 garbage collections.

instance

gen2Collections Total number of Gen 2 garbage collections.

instance

http101

Total number of HTTP responses 101.

instance

http2xx

Total number of HTTP responses 200-299.

instance

http3xx

Total number of HTTP responses 300-399.

instance

http401

Total number of HTTP responses 401.

instance

http403

Total number of HTTP responses 403.

instance

http404

Total number of HTTP responses 404.

instance

http406

Total number of HTTP responses 406.

instance

http4xx

Total number of HTTP responses 400-499.

instance

http5xx

Total number of HTTP server errors 500-599.

instance

ioOtherBytesPerSecond Total number of IO Other bytes per second.

instance

ioOtherOperationsPerSecond Total number of IO Other operations per second.

instance

ioReadBytesPerSecond Total number of IO Read bytes per second.

instance

ioReadOperationsPerSecond Total number of IO Other operations bytes per second.

instance

ioWriteBytesPerSecond Total number of IO Write bytes per second.

instance

ioWriteOperationsPerSecond Total number of IO Other operations bytes per second.

instance

memoryWorkingSetBytes Total bytes of memory working set.

instance

privateBytes Average number of private bytes.

instance

requests Total number of requests to the app.

instance

requestsInApplicationQueue Average number of requests in application queue.

instance

receivedBytes Total number of bytes received by the app.

instance

sentBytes Total number of bytes sent by the app.

instance

threads Average number of threads.

instance

totalAppDomains Total App domains.

instance

totalAppDomainsUnloaded Total App domains unloaded.

instance

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: