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
{{ message }}
This repository was archived by the owner on Jan 21, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: Instructions/Labs/AZ400_M04_Controlling_Deployments_using_Release_Gates.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -161,19 +161,19 @@ In this task, you will create two Azure web apps representing the **Canary** and
161
161
162
162
>**Note**: You will create monitor alerts here, which you will use in later part of this lab.
163
163
164
-
1. On the Application Insights resource blade, in the **Monitoring** section, click **Alerts** and then click **+ New alert rule**.
164
+
1. On the Application Insights resource blade, in the **Monitoring** section, click **Alerts** and then click **Create > Alert rule**.
165
165
1. On the **Create alert rule** blade, in the **Condition** section, click the **Add condition** link.
166
-
1. On the **Configure signal logic** blade, in the **Search by signal name** textbox, type**Failed Requests** and selectit.
166
+
1. On the **Select a signal** blade, in the **Search by signal name** textbox, type**Failed Requests** and selectit.
167
167
1. On the **Configure signal logic** blade, in the **Alert logic** section, leave the **Threshold**set to **Static**, in the **Threshold value** textbox, type**0**, and click on **Done**.
168
168
169
169
>**Note**: The rule will generate an alert whenever the number of failed requests is greater than 0 within the last 5 minutes.
170
170
171
-
1. Back on the **Create alert rule** pane, in the **Alert rule details** specify the following settings and click **Create alert rule** (leave others with their default values):
171
+
1. Back on the **Create alert rule** pane, go to **Details** specify the following settings and fill in information (leave others with their default values)and clikc **Review + Create>Create**:
172
172
173
173
| Setting | Value |
174
174
| --- | --- |
175
175
| Alert rule name |**PartsUnlimited_FailedRequests**|
176
-
| Severity |**Sev 2**|
176
+
| Severity |**2- Warning**|
177
177
| Automatically resolve alerts | cleared |
178
178
179
179
>**Note**: Metric alert rules might take up to 10 minutes to activate.
@@ -241,7 +241,7 @@ In this task, you will configure pre-deployment gates.
241
241
242
242
>**Note**: Based on the value of the **Upper threshold** setting, if this query returns any active bug work Item, the release gate will fail.
243
243
244
-
1. On the **Pre-deployment conditions** pane, leave the value of the **Delay before evaluation** setting at **5 Minutes**.
244
+
1. On the **Pre-deployment conditions** pane, leave the value of the **Delay before evaluation** setting at **0 Minutes**.
245
245
246
246
>**Note**: **Delay before evaluation** represents the time before the added gates are evaluated for the first time. If no gates are added, then the deployments waitfor the duration before proceeding. To allow gate functions to initialize and stabilize (it may take some timefor it to begin returning accurate results), we configure a delay before the results are evaluated and used to determine if the deployment should be approved or rejected.
247
247
@@ -279,7 +279,7 @@ In this task, you will enable the post-deployment gate for the Canary Environmen
279
279
280
280
1. Back on the **All pipelines > PartsUnlimited-CD** pane, on the right edge of the rectangle representing the **Canary Environment** stage, click the oval shape representing the **Post-deployment conditions**.
281
281
1. On **Post-deployment conditions** pane, set the **Gates** slider to **Enabled**, click **+ Add**, and, in the pop-up menu, click **Query Azure Monitor Alerts**.
282
-
1. On **Post-deployment conditions** pane, in the **Query Azure Monitor Alerts** section, in the **Azure subscription** dropdown list, select the entry representing the connection to your Azure subscription, and, in the **Resource group** dropdown list, select the **az400m10l01-RG** entry.
282
+
1. On **Post-deployment conditions** pane, in the **Query Azure Monitor Alerts** section, in the **Azure subscription** dropdown list, select the **service connection** entry representing the connection to your Azure subscription, and, in the **Resource group** dropdown list, select the **az400m10l01-RG** entry.
283
283
1. On **Post-deployment conditions** pane, expand the **Evaluation options** and configure the following options:
284
284
285
285
- Set the value of **Time between re-evaluation of gates** to **5 Minutes**.
0 commit comments