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.

Activate integration

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

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

To view metrics reported by the Azure Functions integration, query the AzureFunctionsAppSample 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
averageMemoryWorkingSetBytes Average count in bytes of memory working set.

instance

functionExecutionCount Function execution count.

instance

functionExecutionUnits Function execution in units.

instance

http5xx Total number of HTTP server errors 500-599.

instance

memoryWorkingSetBytes Total bytes of memory working set.

instance

receivedBytes

Total bytes received by the functions.

instance

sentBytes Total bytes sent by the functions.

instance

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: