Skip to content

Commit 8b80217

Browse files
committed
review cx
1 parent 85770b4 commit 8b80217

File tree

3 files changed

+26
-153
lines changed

3 files changed

+26
-153
lines changed

articles/azure-functions/TOC.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -359,9 +359,6 @@
359359
displayName: availability zones, high-availability, zone redundancy, disaster recovery
360360
- name: Migrate to a zone-redundant plan
361361
href: ../reliability/migrate-functions.md?toc=%2fazure%2fazure-functions%2ftoc.json
362-
- name: Monitor function executions
363-
href: functions-monitoring.md
364-
displayName: App Insights, Application Insights, logs, logging
365362
- name: Diagnostics
366363
href: functions-diagnostics.md
367364
- name: Consumption plan costs
@@ -572,13 +569,16 @@
572569
- name: Monitor
573570
href: monitor-functions.md
574571
displayName: monitor metrics
572+
- name: Monitor function executions
573+
href: functions-monitoring.md
574+
displayName: App Insights, Application Insights, logs, logging
575575
- name: Configure monitoring
576576
href: configure-monitoring.md
577577
displayName: App Insights, Application Insights, logs, logging
578578
- name: Analyze telemetry data
579579
href: analyze-telemetry-data.md
580580
displayName: App Insights, Application Insights, Kusto
581-
- name: Streaming logs
581+
- name: Stream execution logs
582582
href: streaming-logs.md
583583
displayName: monitoring
584584
- name: Authenticate

articles/azure-functions/monitor-functions-reference.md

Lines changed: 9 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,58 @@
11
---
22
title: Monitoring data reference for Azure Functions
33
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
55
ms.custom: horz-monitor
66
ms.topic: reference
77
ms.service: azure-functions
88
---
99

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"
31-
- TOC title: "Monitoring data reference"
32-
- Filename: "monitor-functions-reference.md".
33-
-->
3410

3511
# Azure Functions monitoring data reference
3612

37-
<!-- Intro. Required. -->
3813
[!INCLUDE [horz-monitor-ref-intro](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-intro.md)]
3914

4015
See [Monitor Azure Functions](monitor-functions.md) for details on the data you can collect for Azure Functions and how to use it.
4116

4217
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.
4318

44-
<!-- ## Metrics. Required section. -->
4519
[!INCLUDE [horz-monitor-ref-metrics-intro](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-intro.md)]
4620

47-
<!-- 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.
50-
51-
[!INCLUDE [horz-monitor-ref-metrics-tableheader](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-tableheader.md)]
52-
[!INCLUDE [Microsoft.Web/sites](~/azure-reference-other-repo/azure-monitor-ref/supported-metrics/includes/microsoft-web-sites-metrics-include.md)]
53-
54-
### Azure Functions specific metrics
55-
5621
There are two metrics specific to Functions that are of interest:
5722

5823
| Metric | Description |
5924
| ---- | ---- |
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.|
6227

6328
These metrics are used specifically when [estimating Consumption plan costs](functions-consumption-costs.md).
6429

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.
6632

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).
33+
[!INCLUDE [horz-monitor-ref-metrics-tableheader](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-tableheader.md)]
34+
[!INCLUDE [Microsoft.Web/sites](~/azure-reference-other-repo/azure-monitor-ref/supported-metrics/includes/microsoft-web-sites-metrics-include.md)]
6835

69-
<!-- ## Metric dimensions. Required section. -->
7036
[!INCLUDE [horz-monitor-ref-metrics-dimensions-intro](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-metrics-dimensions-intro.md)]
37+
7138
[!INCLUDE [horz-monitor-ref-no-metrics-dimensions](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-no-metrics-dimensions.md)]
7239

73-
<!-- ## Resource logs. Required section. -->
7440
[!INCLUDE [horz-monitor-ref-resource-logs](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-resource-logs.md)]
7541

76-
<!-- Add at least one resource provider/resource type here. Example: ### Supported resource logs for Microsoft.Storage/storageAccounts/blobServices
77-
Repeat this section for each resource type/namespace in your service. -->
7842
### Supported resource logs for Microsoft.Web/sites
7943
[!INCLUDE [Microsoft.Web/sites](~/azure-reference-other-repo/azure-monitor-ref/supported-logs/includes/microsoft-web-sites-logs-include.md)]
8044

8145
The log specific to Azure Functions is **FunctionAppLogs**.
8246

8347
For more information, see the [App Service monitoring data reference](/azure/app-service/monitor-app-service-reference#metrics).
8448

85-
<!-- ## Azure Monitor Logs tables. Required section. -->
8649
[!INCLUDE [horz-monitor-ref-logs-tables](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-logs-tables.md)]
8750
### App Services
8851
Microsoft.Web/sites
8952
- [FunctionAppLogs](/azure/azure-monitor/reference/tables/functionapplogs)
9053

91-
<!-- ## Activity log. Required section. -->
9254
[!INCLUDE [horz-monitor-ref-activity-log](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-activity-log.md)]
93-
<!-- 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>).
94-
Example: - [Microsoft.Storage resource provider operations](/azure/role-based-access-control/resource-provider-operations#microsoftstorage).
95-
If there are other operations not in the link, list them here in table form. -->
55+
9656
The following table lists operations related to Azure Functions that may be created in the activity log.
9757

9858
| Operation | Description |
@@ -106,10 +66,6 @@ The following table lists operations related to Azure Functions that may be crea
10666

10767
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).
10868

109-
<!-- ## Other schemas. Optional section. Please keep heading in this order. If your service uses other schemas, add the following include and information.
110-
[!INCLUDE [horz-monitor-ref-other-schemas](~/articles/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-other-schemas.md)]
111-
<!-- 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-
11369
## Related content
11470

11571
- See [Monitor Azure Functions](monitor-functions.md) for a description of monitoring Azure Functions.

0 commit comments

Comments
 (0)