New Relic infrastructure monitoring provides an integration for Microsoft Azure App Service that reports data from Azure Apps Service to the New Relic platform. 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 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 One.
- Create alert conditions to notify you of changes in Storage data.
Activate integration
To enable the integration follow standard procedures to activate your Azure service in New Relic.
Configuration and polling
You can change the polling frequency and filter data using configuration options.
New Relic 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, go to one.newrelic.com > Infrastructure > Azure.
The event types are:
AzureAppServiceWebAppSample
: Represents each of the Azure App Service Web Apps in the account. Inventory data has aprovider
value ofAzureAppServiceWebApp
.AzureAppServiceHostNameSample
: Represents each of the domain names bound to a Web App that can be used for accessing it. Inventory data has aprovider
value ofAzureAppServiceHostName
.AzureAppServicePlan:
Represents a set of compute resources for a web app to run on.
Metric data
To view metrics reported by the Azure App Service integration, query the AzureAppServiceWebAppSample
or AzureAppServicePlanSample
event types. 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.
WebApp Metrics
Metric | Description | Metadata |
---|---|---|
| Average number of connections. |
|
| Average memory working set, in bytes. |
|
| Average response time, in seconds. |
|
| Total CPU time, in seconds. |
|
| Average number of current assemblies. |
|
| Average number of resources handled. |
|
| Total number of Gen 0 garbage collections. |
|
| Total number of Gen 1 garbage collections. |
|
| Total number of Gen 2 garbage collections. |
|
| Total number of HTTP responses 101. |
|
| Total number of HTTP responses 200-299. |
|
| Total number of HTTP responses 300-399. |
|
| Total number of HTTP responses 401. |
|
| Total number of HTTP responses 403. |
|
| Total number of HTTP responses 404. |
|
| Total number of HTTP responses 406. |
|
| Total number of HTTP responses 400-499. |
|
| Total number of HTTP server errors 500-599. |
|
| Total number of IO Other bytes per second. |
|
| Total number of IO Other operations per second. |
|
| Total number of IO Read bytes per second. |
|
| Total number of IO Other operations bytes per second. |
|
| Total number of IO Write bytes per second. |
|
| Total number of IO Other operations bytes per second. |
|
| Total bytes of memory working set. |
|
| Average number of private bytes. |
|
| Total number of requests to the app. |
|
| Average number of requests in application queue. |
|
| Total number of bytes received by the app. |
|
| Total number of bytes sent by the app. |
|
| Average number of threads. |
|
| Total App domains. |
|
| Total App domains unloaded. |
|
Service Plan Metrics
Metric | Description | Metadata |
---|---|---|
bytesReceivedBytes | Amount of data received by the application, in bytes. |
|
bytesSentBytes | Amount of data received by the application, in bytes. |
|
cpuPercent | CPU usage. |
|
diskQueueLength | Length of the disk queue. |
|
httpQueueLength | Length of the HTTP queue. |
|
memoryPercent | Memory usage. |
|
Inventory data
EOL NOTICE
After March 2022, we're discontinuing support for several capabilities, including inventory data for cloud integrations. For more details, including how you can easily prepare for this transition, see our Explorers Hub post.
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
azure/appservice/service-plan
capacity
maxInstances
numberOfWebApps
OperatingSystem
pricingTier
regionName
resourceGroupName
type