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
@@ -662,6 +662,79 @@ To view the list of regions that currently support Flex Consumption plans:
662
662
663
663
When you create an app in the [Azure portal](flex-consumption-how-to.md?tabs=azure-portal#create-a-flex-consumption-app) or by using [Visual Studio Code](flex-consumption-how-to.md?tabs=vs-code#create-a-flex-consumption-app), currently unsupported regions are filtered out of the region list.
664
664
665
+
## Configure monitoring
666
+
667
+
The following metrics are specifically available for Flex Consumption apps:
668
+
669
+
##### [Azure CLI](#tab/azure-cli)
670
+
671
+
```azurecli
672
+
# First, get the resource ID of your Flex Consumption function app (required for metrics commands)
673
+
ResourceId=$(az functionapp show --name <FunctionAppName> --resource-group <ResourceGroupName> --query id -o tsv)
674
+
echo "Function App Resource ID: $ResourceId"
675
+
676
+
# Monitor Always Ready and On Demand execution counts
677
+
az monitor metrics list --resource $ResourceId --metric "AlwaysReadyFunctionExecutionCount" --interval PT1H --output table
678
+
az monitor metrics list --resource $ResourceId --metric "OnDemandFunctionExecutionCount" --interval PT1H --output table
679
+
680
+
# Monitor execution units (MB-milliseconds) in Always Ready and On Demand instances
681
+
az monitor metrics list --resource $ResourceId --metric "AlwaysReadyFunctionExecutionUnits" --interval PT1H --output table
682
+
az monitor metrics list --resource $ResourceId --metric "OnDemandFunctionExecutionUnits" --interval PT1H --output table
683
+
684
+
# Monitor Always Ready resource utilization
685
+
az monitor metrics list --resource $ResourceId --metric "AlwaysReadyUnits" --interval PT1H --output table
686
+
687
+
# Monitor memory utilization
688
+
az monitor metrics list --resource <ResourceId> --metric "AverageMemoryWorkingSet" --interval PT1H --output table
689
+
az monitor metrics list --resource <ResourceId> --metric "MemoryWorkingSet" --interval PT1H --output table
690
+
691
+
# Monitor instance count and CPU utilization
692
+
az monitor metrics list --resource <ResourceId> --metric "InstanceCount" --interval PT1H --output table
693
+
az monitor metrics list --resource <ResourceId> --metric "CpuPercentage" --interval PT1H --output table
694
+
```
695
+
696
+
> **Note**: Flex Consumption metrics are different from Linux Consumption metrics. When comparing performance before and after migration, keep in mind that you'll need to use different metrics to track similar performance characteristics.
697
+
698
+
##### [Azure portal](#tab/azure-portal)
699
+
700
+
1.**Function App Metrics**:
701
+
+ Navigate to your Flex Consumption function app in Azure Portal
702
+
+ Go to "Metrics" under the "Monitoring" section
703
+
+ Click "Add metric" and explore the available metrics:
704
+
+**Always Ready metrics**: Always Ready Function Execution Count, Always Ready Function Execution Units, Always Ready Units
705
+
+**On Demand metrics**: On Demand Function Execution Count, On Demand Function Execution Units
706
+
+**Memory metrics**: Average Memory Working Set, Memory Working Set
707
+
+**Performance metrics**: Instance Count, Cpu Percentage
708
+
+ Create custom charts combining related metrics for better visibility
709
+
+ Use "Add filter" to focus on specific functions or dimensions
710
+
711
+
2.**Custom Monitoring Dashboards**:
712
+
+ Create a dedicated dashboard for monitoring your Flex Consumption app
713
+
+ Add multiple metric charts to track different aspects of performance
714
+
+ Include both Always Ready and On Demand metrics for complete visibility
715
+
+ Set up alerts for key metrics that exceed expected thresholds
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-bindings-error-pages.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ The retry policy tells the runtime to rerun a failed execution until either succ
80
80
A retry policy is evaluated when a function executed by a supported trigger type raises an uncaught exception. As a best practice, you should catch all exceptions in your code and raise new exceptions for any errors that you want to result in a retry.
81
81
82
82
> [!IMPORTANT]
83
-
> Event Hubs checkpoints aren't written until after the retry policy for the execution finishes. Because of this behavior, progress on the specific partition is paused until the current batch is done processing.
83
+
> Event Hubs checkpoints aren't written until after the retry policy for the execution finishes. Because of this behavior, progress on the specific partition is paused until the current batch is done processing. For more information, see [Azure Functions reliable event processing](functions-reliable-event-processing.md).
84
84
>
85
85
> The version 5.x of the Event Hubs extension supports extra retry capabilities for interactions between the Functions host and the event hub. For more information, see `clientRetryOptions` in the [Event Hubs host.json reference](functions-bindings-event-hubs.md#host-json).
0 commit comments