Skip to content

Latest commit

 

History

History
645 lines (502 loc) · 11 KB

azure-app-service-monitoring-integration.mdx

File metadata and controls

645 lines (502 loc) · 11 KB
title tags metaDescription redirects freshnessValidatedDate
Azure App Service monitoring integration
Integrations
Microsoft Azure integrations
Azure integrations list
New Relic's Microsoft Azure App Service integration: what data it reports and how to enable it.
/docs/integrations/microsoft-azure-integrations/azure-integrations-list/azure-app-service-monitoring-integration
/docs/azure-azure_appservice-integration
/docs/azure-app-service-monitoring-integration
never

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 backends 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 the New Relic UI.
  • Create alert conditions to notify you of changes in Storage data.

Activate integration [#activate]

To enable the integration follow standard procedures to activate your Azure service in New Relic.

Configuration and polling [#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 [#find-and-use]

To explore your integration data, go to one.newrelic.com > All capabilities > Infrastructure > Azure.

The event types are:

  • AzureAppServiceWebAppSample: Represents each of the Azure App Service Web Apps in the account.
  • AzureAppServiceHostNameSample: Represents each of the domain names bound to a Web App that can be used for accessing it.
  • AzureAppServicePlan: Represents a set of compute resources for a web app to run on.

Metric data [#metrics]

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

  <th>
    Description
  </th>

  <th>
    Metadata
  </th>
</tr>
  <td>
    Average number of connections.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `averageMemoryWorkingSetBytes`
  </td>

  <td>
    Average memory working set, in bytes.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `averageResponseTimeSeconds`
  </td>

  <td>
    Average response time, in seconds.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `cpuTimeSeconds`
  </td>

  <td>
    Total CPU time, in seconds.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `currentAssemblies`
  </td>

  <td>
    Average number of current assemblies.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `handles`
  </td>

  <td>
    Average number of resources handled.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `gen0Collections`
  </td>

  <td>
    Total number of Gen 0 garbage collections.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `gen1Collections`
  </td>

  <td>
    Total number of Gen 1 garbage collections.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `gen2Collections`
  </td>

  <td>
    Total number of Gen 2 garbage collections.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `http101`
  </td>

  <td>
    Total number of HTTP responses 101.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `http2xx`
  </td>

  <td>
    Total number of HTTP responses 200-299.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `http3xx`
  </td>

  <td>
    Total number of HTTP responses 300-399.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `http401`
  </td>

  <td>
    Total number of HTTP responses 401.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `http403`
  </td>

  <td>
    Total number of HTTP responses 403.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `http404`
  </td>

  <td>
    Total number of HTTP responses 404.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `http406`
  </td>

  <td>
    Total number of HTTP responses 406.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `http4xx`
  </td>

  <td>
    Total number of HTTP responses 400-499.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `http5xx`
  </td>

  <td>
    Total number of HTTP server errors 500-599.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `ioOtherBytesPerSecond`
  </td>

  <td>
    Total number of IO Other bytes per second.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `ioOtherOperationsPerSecond`
  </td>

  <td>
    Total number of IO Other operations per second.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `ioReadBytesPerSecond`
  </td>

  <td>
    Total number of IO Read bytes per second.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `ioReadOperationsPerSecond`
  </td>

  <td>
    Total number of IO Other operations bytes per second.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `ioWriteBytesPerSecond`
  </td>

  <td>
    Total number of IO Write bytes per second.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `ioWriteOperationsPerSecond`
  </td>

  <td>
    Total number of IO Other operations bytes per second.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `memoryWorkingSetBytes`
  </td>

  <td>
    Total bytes of memory working set.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `privateBytes`
  </td>

  <td>
    Average number of private bytes.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `requests`
  </td>

  <td>
    Total number of requests to the app.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `requestsInApplicationQueue`
  </td>

  <td>
    Average number of requests in application queue.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `receivedBytes`
  </td>

  <td>
    Total number of bytes received by the app.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `sentBytes`
  </td>

  <td>
    Total number of bytes sent by the app.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `threads`
  </td>

  <td>
    Average number of threads.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `totalAppDomains`
  </td>

  <td>
    Total App domains.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    `totalAppDomainsUnloaded`
  </td>

  <td>
    Total App domains unloaded.
  </td>

  <td>
    `instance`
  </td>
</tr>
Metric
`appConnections`

Service Plan Metrics

  <th>
    Description
  </th>

  <th>
    Metadata
  </th>
</tr>
  <td>
    Amount of data received by the application, in bytes.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    bytesSentBytes
  </td>

  <td>
    Amount of data received by the application, in bytes.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    cpuPercent
  </td>

  <td>
    CPU usage.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    diskQueueLength
  </td>

  <td>
    Length of the disk queue.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    httpQueueLength
  </td>

  <td>
    Length of the HTTP queue.
  </td>

  <td>
    `instance`
  </td>
</tr>

<tr>
  <td>
    memoryPercent
  </td>

  <td>
    Memory usage.
  </td>

  <td>
    `instance`
  </td>
</tr>
Metric
bytesReceivedBytes