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
Copy file name to clipboardExpand all lines: articles/azure-functions/monitor-functions-reference.md
+9-53Lines changed: 9 additions & 53 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,98 +1,58 @@
1
1
---
2
2
title: Monitoring data reference for Azure Functions
3
3
description: This article contains important reference material you need when you monitor Azure Functions.
4
-
ms.date: 02/22/2024
4
+
ms.date: 03/08/2024
5
5
ms.custom: horz-monitor
6
6
ms.topic: reference
7
7
ms.service: azure-functions
8
8
---
9
9
10
-
<!--
11
-
IMPORTANT
12
-
To make this template easier to use, first:
13
-
1. Search and replace Azure Functions with the official name of your service.
14
-
2. Search and replace functions with the service name to use in GitHub filenames.-->
15
-
16
-
<!-- VERSION 3.0 2024_01_01
17
-
For background about this template, see https://review.learn.microsoft.com/en-us/help/contribute/contribute-monitoring?branch=main -->
18
-
19
-
<!-- Most services can use the following sections unchanged. All headings are required unless otherwise noted.
20
-
The sections use #included text you don't have to maintain, which changes when Azure Monitor functionality changes. Add info into the designated service-specific places if necessary. Remove #includes or template content that aren't relevant to your service.
21
-
22
-
At a minimum your service should have the following two articles:
23
-
24
-
1. The primary monitoring article (based on the template monitor-service-template.md)
25
-
- Title: "Monitor Azure Functions"
26
-
- TOC title: "Monitor"
27
-
- Filename: "monitor-functions.md"
28
-
29
-
2. A reference article that lists all the metrics and logs for your service (based on this template).
30
-
- Title: "Azure Functions monitoring data reference"
See [Monitor Azure Functions](monitor-functions.md) for details on the data you can collect for Azure Functions and how to use it.
41
16
42
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.
<!-- Repeat the following section for each resource type/namespace in your service. -->
48
-
### Supported metrics for Microsoft.Web/sites
49
-
The following table lists the metrics available for the Microsoft.Web/sites resource type. Most of these metrics apply to both FunctionApps and WebApps.
There are two metrics specific to Functions that are of interest:
57
22
58
23
| Metric | Description |
59
24
| ---- | ---- |
60
-
|**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.|
61
-
|**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.|
62
27
63
28
These metrics are used specifically when [estimating Consumption plan costs](functions-consumption-costs.md).
64
29
65
-
### 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.
66
32
67
-
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 the [App Service monitoring data reference](/azure/app-service/monitor-app-service-reference#metrics).
<!-- Refer to https://learn.microsoft.com/azure/role-based-access-control/resource-provider-operations and link to the possible operations for your service, using the format - [<Namespace> resource provider operations](/azure/role-based-access-control/resource-provider-operations#<namespace>).
If there are other operations not in the link, list them here in table form. -->
55
+
96
56
The following table lists operations related to Azure Functions that may be created in the activity log.
97
57
98
58
| Operation | Description |
@@ -106,10 +66,6 @@ The following table lists operations related to Azure Functions that may be crea
106
66
107
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).
108
68
109
-
<!-- ## Other schemas. Optional section. Please keep heading in this order. If your service uses other schemas, add the following include and information.
<!-- List other schemas and their usage here. These can be resource logs, alerts, event hub formats, etc. depending on what you think is important. You can put JSON messages, API responses not listed in the REST API docs, and other similar types of info here. -->
112
-
113
69
## Related content
114
70
115
71
- See [Monitor Azure Functions](monitor-functions.md) for a description of monitoring Azure Functions.
0 commit comments