Skip to content

Commit 2f1ae8b

Browse files
Merge pull request #227510 from ecfan/metrics
Azure Logic Apps: Add metrics how-to content for Standard and Consumption workflows
2 parents 5bf59fd + 84c3f76 commit 2f1ae8b

File tree

7 files changed

+123
-0
lines changed

7 files changed

+123
-0
lines changed
13.8 KB
Loading
16.7 KB
Loading
9.79 KB
Loading
90.2 KB
Loading
66.7 KB
Loading

articles/logic-apps/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,8 @@
416416
items:
417417
- name: Monitor logic apps
418418
href: monitor-logic-apps.md
419+
- name: View health and performance metrics
420+
href: view-workflow-metrics.md
419421
- name: Monitor logic apps with Azure Monitor logs
420422
href: monitor-logic-apps-log-analytics.md
421423
- name: Monitor logic apps in Microsoft Defender for Cloud
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
---
2+
title: View workflow health and performance metrics
3+
description: View health and performance metrics for workflows in Azure Logic Apps.
4+
services: logic-apps
5+
ms.suite: integration
6+
author: kewear
7+
ms.author: kewear
8+
ms.reviewer: estfan, azla
9+
ms.topic: how-to
10+
ms.date: 02/15/2023
11+
# As a developer, I want to review the health and performance metrics for workflows in Azure Logic Apps.
12+
---
13+
14+
# View metrics for workflow health and performance in Azure Logic Apps
15+
16+
[!INCLUDE [logic-apps-sku-consumption-standard](../../includes/logic-apps-sku-consumption-standard.md)]
17+
18+
This guide shows how you can check the health and performance for both Consumption and Standard logic app workflows.
19+
20+
## Prerequisites
21+
22+
* An Azure account and subscription. If you don't have a subscription, [sign up for a free Azure account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
23+
24+
* A Consumption workflow or Standard workflow that is running or has run at least once
25+
26+
## Find and view metrics
27+
28+
### [Consumption](#tab/consumption)
29+
30+
1. In the [Azure portal](https://portal.azure.com), open your logic app resource.
31+
32+
1. On the logic app resource menu, under **Monitoring**, select **Metrics**.
33+
34+
The **Metrics** page shows the following lists: **Scope**, **Metric Namespace**, and **Metric**.
35+
36+
1. Make sure that **Scope** is set to your Consumption logic app name and that **Metric Namespace** is set to **Logic app standard metrics**.
37+
38+
1. Open the **Metric** list to view the available metrics for your workflow.
39+
40+
:::image type="content" source="./media/view-workflow-metrics/view-metrics-consumption.png" alt-text="Screenshot showing Azure portal, Consumption logic app resource menu with Metrics selected, and the Metric list opened.":::
41+
42+
For more information about Consumption workflow metrics, see [Supported metrics with Azure Monitor - Microsoft.Logic/workflows](../azure-monitor/essentials/metrics-supported.md#microsoftlogicworkflows).
43+
44+
1. From the **Metric** list, select the metric that you want to review. From the **Aggregation** list, select the option for how you want to group the metric's values: **Count**, **Avg**, **Min**, **Max**, or **Sum**.
45+
46+
### [Standard (preview)](#tab/standard)
47+
48+
1. In the [Azure portal](https://portal.azure.com), open your logic app resource.
49+
50+
1. On the logic app resource menu, under **Monitoring**, select **Metrics**.
51+
52+
The **Metrics** page shows the following lists: **Scope**, **Metric Namespace**, and **Metric**.
53+
54+
1. Make sure that **Scope** is set to your Standard logic app name and that **Metric Namespace** is set to **App Service standard metrics**.
55+
56+
1. In the **Metric** search box, enter **workflow** to view the metrics that start with **Workflow**.
57+
58+
The filtered list now shows the available metrics for your workflow:
59+
60+
| Metric name | Description |
61+
|-------------|-------------|
62+
| **Workflow Action Completed Count** | The number of completed actions, regardless of status. |
63+
| **Workflow Job Execution Delay** | The amount of time between when a job was scheduled to run and when the job actually ran. |
64+
| **Workflow Job Execution Duration** | The amount of time that a job took to complete execution. |
65+
| **Workflow Runs Completed Count** | The number of completed workflow executions, regardless of status. |
66+
| **Workflow Runs Dispatched Count** | The number of previously queued requests that are now processed. |
67+
| **Workflow Runs Started Count** | The number of started workflows, regardless of outcome status. |
68+
| **Workflow Triggers Completed Count** | The number of completed triggers, regardless of outcome. |
69+
70+
:::image type="content" source="./media/view-workflow-metrics/view-metrics-standard.png" alt-text="Screenshot showing Azure portal, Standard logic app resource menu with Metrics selected, the Metric search box with workflow entered, and the Metric list opened.":::
71+
72+
> [!NOTE]
73+
>
74+
> For information about non-workflow related metrics, such as Azure App Service metrics for Standard workflows,
75+
> see [Monitor apps in Azure App Service - Understand metrics](../app-service/web-sites-monitor.md#understand-metrics).
76+
77+
1. From the **Metric** list, select the metric that you want to review. From the **Aggregation** list, select the option for how you want to group the metric's values: **Count**, **Avg**, **Min**, **Max**, or **Sum**.
78+
79+
#### Filter on a specific workflow
80+
81+
If your Standard logic app has multiple workflows running, you can filter the results by workflow.
82+
83+
1. Under the **Metrics** toolbar, select **Add filter**.
84+
85+
1. From the **Property** list, select **Workflow Name**.
86+
87+
1. From the **Values** list, select the specific workflow.
88+
89+
#### Filter on a specific workflow status
90+
91+
1. Under the **Metrics** toolbar, select **Add filter**.
92+
93+
1. From the **Property** list, select **Status**.
94+
95+
1. From the **Values** list, select the status.
96+
97+
#### Example
98+
99+
Suppose that you want to view the number of workflow runs that have a specific status over the past 24 hours.
100+
101+
1. From the **Metric** list, select the metric named **Workflow Runs Completed**.
102+
103+
1. From the **Aggregation** list, select **Sum**.
104+
105+
:::image type="content" source="./media/view-workflow-metrics/example-metric-standard.png" alt-text="Screenshot showing example metric for Standard logic app.":::
106+
107+
In this example, the Standard logic app has multiple workflows running. So, you can filter the results by adding a filter.
108+
109+
1. Under the **Metrics** toolbar, select **Add filter**.
110+
111+
1. From the **Property** list, select **Workflow Name**.
112+
113+
1. From the **Values** list, select the specific workflow.
114+
115+
:::image type="content" source="./media/view-workflow-metrics/example-add-filter-standard.png" alt-text="Screenshot showing example added metrics filter for Standard logic app.":::
116+
117+
---
118+
119+
## Next steps
120+
121+
- [Monitor logic apps](monitor-logic-apps.md)

0 commit comments

Comments
 (0)