Azure Functions monitoring integration

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

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

Features

New Relic's integration for Azure Functions reports metric data about your Functions service, like the number of function executions, bytes sent and received and HTTP error counts. It also collects inventory data about the status and configuration of the service.

You can monitor and alert on your Azure Functions data from New Relic Infrastructure, and you can create custom queries and chart dashboards in New Relic Insights.

Requirements

Requirements include:

Activate integration

To enable this 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.

Default polling information for the Azure Functions integration:

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

Find and use data

To find your integration data in Infrastructure, go to infrastructure.newrelic.com > Integrations and look for the integration.

In New Relic Insights, data is attached to the AzureFunctionsAppSample event type. Inventory data has a provider value of AzureFunctionsApp.

For more on how to find and use integration data, see Understand and use data.

Metric data

Here are the metrics reported by the Azure Functions integration. For more about how data is structured and reported to New Relic, see Understand and use integration data.

Metric Description
averageMemoryWorkingSetBytes Average count in bytes of memory working set.
functionExecutionCount Function execution count.
functionExecutionUnits Function execution in units.
http5xx Total number of HTTP server errors 500-599.
memoryWorkingSetBytes Total bytes of memory working set.
receivedBytes

Total bytes received by the functions.

sentBytes Total bytes sent by the functions.

Inventory data

Inventory data is information about your system's state and configuration. For details on how to find and use inventory data, see Understand and use data.

The Azure Functions integration reports this inventory data:

  • alwaysOn
  • availabilityState
  • clientAffinityEnabled
  • clientCertEnabled
  • containerSize
  • cors
  • defaultDocuments
  • defaultHostName
  • detailedErrorLoggingEnabled
  • enabled
  • enabledHostNames
  • gatewaySiteName
  • hostNames
  • hostNameBinding
  • hostNamesDisabled
  • hostNameSslStates
  • httpLoggingEnabled
  • isPremiumApp
  • lastModifiedTime
  • loadBalancing
  • logsDirectorySizeLimit
  • managedPipelineMode
  • microService
  • netFrameworkVersion
  • numberOfWorkers
  • operatingSystem
  • outboundIpAddresses
  • phpVersion
  • platformArchitecture
  • remoteDebuggingEnabled
  • remoteDebuggingVersion
  • repositorySiteName
  • scmType
  • state
  • scmSiteAlsoStopped
  • storageAccount
  • targetSwapSlot
  • tracingOptions
  • usageState

Other system data

The Azure Functions integration also collects these attributes about the service and its configuration:

  • availabilityState
  • defaultHostName
  • enabled
  • isPremiumApp
  • javaVersion
  • netFrameworkVersion
  • nodeVersion
  • operatingSystem
  • phpVersion
  • pythonVersion
  • platformArchitecture
  • state
  • usageState

For more help

Recommendations for learning more: