Skip to content

Commit 1171360

Browse files
committed
edit pass: app-articles-batch-16
1 parent 86760cf commit 1171360

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

articles/azure-monitor/app/continuous-monitoring.md

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,49 @@
11
---
2-
title: Continuous monitoring of your DevOps release pipeline with Azure Pipelines and Azure Application Insights | Microsoft Docs
3-
description: Provides instructions to quickly set up continuous monitoring with Application Insights
2+
title: Continuous monitoring of your DevOps release pipeline | Microsoft Docs
3+
description: This article provides instructions to quickly set up continuous monitoring with Azure Pipelines and Application Insights.
44
ms.topic: conceptual
55
ms.date: 05/01/2020
66
ms.reviewer: vitalyg
77
---
88

99
# Add continuous monitoring to your release pipeline
1010

11-
Azure Pipelines integrates with Azure Application Insights to allow continuous monitoring of your DevOps release pipeline throughout the software development lifecycle.
11+
Azure Pipelines integrates with Application Insights to allow continuous monitoring of your Azure DevOps release pipeline throughout the software development lifecycle.
1212

13-
With continuous monitoring, release pipelines can incorporate monitoring data from Application Insights and other Azure resources. When the release pipeline detects an Application Insights alert, the pipeline can gate or roll back the deployment until the alert is resolved. If all checks pass, deployments can proceed automatically from test all the way to production, without the need for manual intervention.
13+
With continuous monitoring, release pipelines can incorporate monitoring data from Application Insights and other Azure resources. When the release pipeline detects an Application Insights alert, the pipeline can gate or roll back the deployment until the alert is resolved. If all checks pass, deployments can proceed automatically from test all the way to production, without the need for manual intervention.
1414

1515
## Configure continuous monitoring
1616

1717
1. In [Azure DevOps](https://dev.azure.com), select an organization and project.
18-
19-
1. On the left menu of the project page, select **Pipelines** > **Releases**.
20-
21-
1. Drop down the arrow next to **New** and select **New release pipeline**. Or, if you don't have a pipeline yet, select **New pipeline** on the page that appears.
22-
23-
1. On the **Select a template** pane, search for and select **Azure App Service deployment with continuous monitoring**, and then select **Apply**.
2418

25-
![New Azure Pipelines release pipeline](media/continuous-monitoring/001.png)
19+
1. On the left menu of the project page, select **Pipelines** > **Releases**.
20+
21+
1. Select the dropdown arrow next to **New** and select **New release pipeline**. Or, if you don't have a pipeline yet, select **New pipeline** on the page that appears.
22+
23+
1. On the **Select a template** pane, search for and select **Azure App Service deployment with continuous monitoring**, and then select **Apply**.
24+
25+
![Screenshot that shows a new Azure Pipelines release pipeline.](media/continuous-monitoring/001.png)
2626

2727
1. In the **Stage 1** box, select the hyperlink to **View stage tasks.**
2828

29-
![View stage tasks](media/continuous-monitoring/002.png)
29+
![Screenshot that shows View stage tasks.](media/continuous-monitoring/002.png)
3030

31-
1. In the **Stage 1** configuration pane, complete the following fields:
31+
1. In the **Stage 1** configuration pane, fill in the following fields:
3232

3333
| Parameter | Value |
3434
| ------------- |:-----|
35-
| **Stage name** | Provide a stage name, or leave it at **Stage 1**. |
36-
| **Azure subscription** | Drop down and select the linked Azure subscription you want to use.|
37-
| **App type** | Drop down and select your app type. |
35+
| **Stage name** | Provide a stage name or leave it at **Stage 1**. |
36+
| **Azure subscription** | Select the dropdown arrow and select the linked Azure subscription you want to use.|
37+
| **App type** | Select the dropdown arrow and select your app type. |
3838
| **App Service name** | Enter the name of your Azure App Service. |
39-
| **Resource Group name for Application Insights** | Drop down and select the resource group you want to use. |
40-
| **Application Insights resource name** | Drop down and select the Application Insights resource for the resource group you selected.
39+
| **Resource Group name for Application Insights** | Select the dropdown arrow and select the resource group you want to use. |
40+
| **Application Insights resource name** | Select the dropdown arrow and select the Application Insights resource for the resource group you selected.
4141

42-
1. To save the pipeline with default alert rule settings, select **Save** at upper right in the Azure DevOps window. Enter a descriptive comment, and then select **OK**.
42+
1. To save the pipeline with default alert rule settings, select **Save** in the upper-right corner of the Azure DevOps window. Enter a descriptive comment and select **OK**.
4343

4444
## Modify alert rules
4545

46-
Out of box, the **Azure App Service deployment with continuous monitoring** template has four alert rules: **Availability**, **Failed requests**, **Server response time**, and **Server exceptions**. You can add more rules, or change the rule settings to meet your service level needs.
46+
Out of the box, the **Azure App Service deployment with continuous monitoring** template has four alert rules: **Availability**, **Failed requests**, **Server response time**, and **Server exceptions**. You can add more rules or change the rule settings to meet your service level needs.
4747

4848
To modify alert rule settings:
4949

@@ -59,41 +59,41 @@ az monitor metrics alert create -n 'ServerResponseTime_$(Release.DefinitionName)
5959
az monitor metrics alert create -n 'ServerExceptions_$(Release.DefinitionName)' -g $(Parameters.AppInsightsResourceGroupName) --scopes $resource --condition 'count exceptions/server > 5' --description "created from Azure DevOps";
6060
```
6161

62-
You can modify the script and add additional alert rules, modify the alert conditions, or remove alert rules that don't make sense for your deployment purposes.
62+
You can modify the script and add more alert rules. You can also modify the alert conditions. And you can remove alert rules that don't make sense for your deployment purposes.
6363

6464
## Add deployment conditions
6565

66-
When you add deployment gates to your release pipeline, an alert that exceeds the thresholds you set prevents unwanted release promotion. Once you resolve the alert, the deployment can proceed automatically.
66+
When you add deployment gates to your release pipeline, an alert that exceeds the thresholds you set prevents unwanted release promotion. After you resolve the alert, the deployment can proceed automatically.
6767

6868
To add deployment gates:
6969

7070
1. On the main pipeline page, under **Stages**, select the **Pre-deployment conditions** or **Post-deployment conditions** symbol, depending on which stage needs a continuous monitoring gate.
71-
72-
![Pre-deployment conditions](media/continuous-monitoring/004.png)
73-
71+
72+
![Screenshot that shows Pre-deployment conditions.](media/continuous-monitoring/004.png)
73+
7474
1. In the **Pre-deployment conditions** configuration pane, set **Gates** to **Enabled**.
75-
75+
7676
1. Next to **Deployment gates**, select **Add**.
77-
77+
7878
1. Select **Query Azure Monitor alerts** from the dropdown menu. This option lets you access both Azure Monitor and Application Insights alerts.
79-
80-
![Query Azure Monitor alerts](media/continuous-monitoring/005.png)
81-
82-
1. Under **Evaluation options**, enter the values you want for settings like **The time between re-evaluation of gates** and **The timeout after which gates fail**.
79+
80+
![Screenshot that shows Query Azure Monitor alerts.](media/continuous-monitoring/005.png)
81+
82+
1. Under **Evaluation options**, enter the values you want for settings like **The time between re-evaluation of gates** and **The timeout after which gates fail**.
8383

8484
## View release logs
8585

8686
You can see deployment gate behavior and other release steps in the release logs. To open the logs:
8787

88-
1. Select **Releases** from the left menu of the pipeline page.
89-
90-
1. Select any release.
91-
92-
1. Under **Stages**, select any stage to view a release summary.
93-
94-
1. To view logs, select **View logs** in the release summary, select the **Succeeded** or **Failed** hyperlink in any stage, or hover over any stage and select **Logs**.
95-
96-
![View release logs](media/continuous-monitoring/006.png)
88+
1. Select **Releases** from the left menu of the pipeline page.
89+
90+
1. Select any release.
91+
92+
1. Under **Stages**, select any stage to view a release summary.
93+
94+
1. To view logs, select **View logs** in the release summary, select the **Succeeded** or **Failed** hyperlink in any stage, or hover over any stage and select **Logs**.
95+
96+
![Screenshot that shows viewing release logs.](media/continuous-monitoring/006.png)
9797

9898
## Next steps
9999

0 commit comments

Comments
 (0)