Monitoring Azure Functions data reference

This reference applies to the use of Azure Monitor for monitoring function apps hosted in Azure Functions. See Monitoring function app with Azure Monitor for details on using Azure Monitor to collect and analyze monitoring data from your function apps.

See Monitor Azure Functions for details on using Application Insights to collect and analyze log data from individual functions in your function app.


This section lists all the automatically collected platform metrics collected for Azure Functions.

Azure Functions specific metrics

There are two metrics specific to Functions that are of interest:

Metric Description
FunctionExecutionCount Function execution count indicates the number of times your function app has executed. This value correlates to the number of times a function runs in your app.
FunctionExecutionUnits Function execution units are a combination of execution time and your memory usage. Memory data isn't a metric currently available through Azure Monitor. However, if you want to optimize the memory usage of your app, can use the performance counter data collected by Application Insights. This metric isn't currently supported for Premium and Dedicated (App Service) plans running on Linux.

These metrics are used specifically when estimating Consumption plan costs.

General App Service metrics

Aside from Azure Functions specific metrics, the App Service platform implements more metrics, which you can use to monitor function apps. For the complete list, see metrics available to App Service apps and Monitoring App Service data reference.

Metric Dimensions

For more information on what metric dimensions are, see Multi-dimensional metrics.

Azure Functions doesn't have any metrics that contain dimensions.

Resource logs

This section lists the types of resource logs you can collect for your function apps.

Log type Description
FunctionAppLogs Function app logs

For more information, see Monitoring App Service data reference.

For reference, see a list of all resource logs category types supported in Azure Monitor.

Azure Monitor Logs tables

Azure Functions uses Kusto tables from Azure Monitor Logs. You can query the FunctionAppLogs table with Log Analytics. For more information, see the Azure Monitor Log Table Reference.

Activity log

The following table lists the operations related to Azure Functions that may be created in the Activity log.

Operation Description
Microsoft.web/sites/functions/listkeys/action Return the keys for the function.
Microsoft.Web/sites/host/listkeys/action Return the host keys for the function app.
Microsoft.Web/sites/host/sync/action Sync triggers operation.
Microsoft.Web/sites/start/action Function app started.
Microsoft.Web/sites/stop/action Function app stopped.
Microsoft.Web/sites/write Change a function app setting, such as runtime version or enable remote debugging.

You may also find logged operations that relate to the underlying App Service behaviors. For a more complete list, see Resource Provider Operations.

For more information on the schema of Activity Log entries, see Activity Log schema.

See Also