You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Important reference material needed when you monitor Azure Functions
2
+
title: Monitoring data reference for Azure Functions
3
+
description: This article contains important reference material you need when you monitor Azure Functions.
4
+
ms.date: 03/08/2024
5
+
ms.custom: horz-monitor
4
6
ms.topic: reference
5
7
ms.service: azure-functions
6
-
ms.custom: subject-monitoring
7
-
ms.date: 07/05/2022
8
8
---
9
9
10
-
# Monitoring Azure Functions data reference
11
10
12
-
This reference applies to the use of Azure Monitor for monitoring function apps hosted in Azure Functions. See [Monitoring function app with Azure Monitor](monitor-functions.md) for details on using Azure Monitor to collect and analyze monitoring data from your function apps.
11
+
# Azure Functionsmonitoring data reference
13
12
14
-
See [Monitor Azure Functions](functions-monitoring.md) for details on using Application Insights to collect and analyze log data from individual functions in your function app.
See [Monitor Azure Functions](monitor-functions.md) for details on the data you can collect for Azure Functions and how to use it.
17
16
18
-
This section lists all the automatically collected platform metrics collected for Azure Functions.
17
+
See [Monitor executions in Azure Functions](functions-monitoring.md) for details on using Application Insights to collect and analyze log data from individual functions in your function app.
There are two metrics specific to Functions that are of interest:
23
22
24
23
| Metric | Description |
25
24
| ---- | ---- |
26
-
|**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. This metric isn't currently supported for Premium and Dedicated (App Service) plans running on Linux.|
27
-
|**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.|
25
+
|**FunctionExecutionCount**| Function execution count indicates the number of times your function app executed. This value correlates to the number of times a function runs in your app. This metric isn't currently supported for Premium and Dedicated (App Service) plans running on Linux.|
26
+
|**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.|
28
27
29
28
These metrics are used specifically when [estimating Consumption plan costs](functions-consumption-costs.md).
30
29
31
-
### General App Service metrics
30
+
### Supported metrics for Microsoft.Web/sites
31
+
The following table lists the metrics available for the Microsoft.Web/sites resource type. Most of these metrics apply to both FunctionApps and WebApps.
32
32
33
-
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](../app-service/web-sites-monitor.md#understand-metrics) and [Monitoring App Service data reference](../app-service/monitor-app-service-reference.md#metrics).
For more information on what metric dimensions are, see [Multi-dimensional metrics](../azure-monitor/essentials/data-platform-metrics.md#multi-dimensional-metrics).
Azure Functions uses Kusto tables from Azure Monitor Logs. You can query the [FunctionAppLogs table](/azure/azure-monitor/reference/tables/functionapplogs) with Log Analytics. For more information, see the [Azure Monitor Log Table Reference](/azure/azure-monitor/reference/tables/tables-resourcetype#app-services).
56
-
57
-
## Activity log
58
-
59
-
The following table lists the operations related to Azure Functions that may be created in the Activity log.
56
+
The following table lists operations related to Azure Functions that may be created in the activity log.
60
57
61
58
| Operation | Description |
62
59
|:---|:---|
@@ -67,11 +64,9 @@ The following table lists the operations related to Azure Functions that may be
67
64
|Microsoft.Web/sites/stop/action| Function app stopped.|
68
65
|Microsoft.Web/sites/write| Change a function app setting, such as runtime version or enable remote debugging.|
69
66
70
-
You may also find logged operations that relate to the underlying App Service behaviors. For a more complete list, see [Resource Provider Operations](../role-based-access-control/resource-provider-operations.md#microsoftweb).
71
-
72
-
For more information on the schema of Activity Log entries, see [Activity Log schema](../azure-monitor/essentials/activity-log-schema.md).
67
+
You may also find logged operations that relate to the underlying App Service behaviors. For a more complete list, see [Microsoft.Web resource provider operations](/azure/role-based-access-control/resource-provider-operations#microsoftweb).
73
68
74
-
## See Also
69
+
## Related content
75
70
76
-
* See [Monitoring Azure Functions](monitor-functions.md) for a description of monitoring Azure Functions.
77
-
* See [Monitoring Azure resources with Azure Monitor](../azure-monitor/essentials/monitor-azure-resource.md) for details on monitoring Azure resources.
71
+
- See [Monitor Azure Functions](monitor-functions.md) for a description of monitoring Azure Functions.
72
+
- See [Monitor Azure resources with Azure Monitor](/azure/azure-monitor/essentials/monitor-azure-resource) for details on monitoring Azure resources.
0 commit comments