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
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/annotations.md
+20-9Lines changed: 20 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,18 +8,14 @@ ms.date: 07/01/2019
8
8
9
9
# Annotations on metric charts in Application Insights
10
10
11
-
Annotations on [Metrics Explorer](../../azure-monitor/app/metrics-explorer.md) charts show where you deployed a new build, or other significant events. Annotations make it easy to see whether your changes had any effect on your application's performance. They can be automatically created by the [Azure Pipelines](https://docs.microsoft.com/azure/devops/pipelines/tasks/) build system. You can also create annotations to flag any event you like by creating them from PowerShell.
12
-
13
-
> [!NOTE]
14
-
> This article reflects the deprecated **classic metrics experience**. Annotations are only currently available in the classic experience and in **[workbooks](../../azure-monitor/app/usage-workbooks.md)**. To learn more about the current metrics experience, see [Advanced features of Azure Metrics Explorer](../../azure-monitor/platform/metrics-charts.md).
15
-
16
-

11
+
Annotations show where you deployed a new build, or other significant events. Annotations make it easy to see whether your changes had any effect on your application's performance. They can be automatically created by the [Azure Pipelines](https://docs.microsoft.com/azure/devops/pipelines/tasks/) build system. You can also create annotations to flag any event you like by creating them from PowerShell.
17
12
18
13
## Release annotations with Azure Pipelines build
19
14
20
15
Release annotations are a feature of the cloud-based Azure Pipelines service of Azure DevOps.
21
16
22
17
### Install the Annotations extension (one time)
18
+
23
19
To be able to create release annotations, you'll need to install one of the many Azure DevOps extensions available in the Visual Studio Marketplace.
24
20
25
21
1. Sign in to your [Azure DevOps](https://azure.microsoft.com/services/devops/) project.
@@ -70,11 +66,26 @@ Create a separate API key for each of your Azure Pipelines release templates.
70
66
1. Select **Save** in the main release template window to save the template.
71
67
72
68
## View annotations
73
-
Now, whenever you use the release template to deploy a new release, an annotation is sent to Application Insights. The annotations appear on charts in **Metrics Explorer**.
74
69
75
-
Select any annotation marker (light gray arrow) to open details about the release, including requestor, source control branch, release pipeline, and environment.
76
70
77
-

71
+
> [!NOTE]
72
+
> Release annotations are not currently available in the Metrics pane of Application Insights
73
+
74
+
Now, whenever you use the release template to deploy a new release, an annotation is sent to Application Insights. The annotations can be viewed in the following locations:
75
+
76
+
The usage pane where you also have the ability to manually create release annotations:
77
+
78
+

79
+
80
+
In any log-based workbook query where the visualization displays time along the x-axis.
81
+
82
+

83
+
84
+
To enable annotations in your workbook go to **Advanced Settings** and select **Show annotations**.
85
+
86
+

87
+
88
+
Select any annotation marker to open details about the release, including requestor, source control branch, release pipeline, and environment.
78
89
79
90
## Create custom annotations from PowerShell
80
91
You can use the [CreateReleaseAnnotation](https://github.com/Microsoft/ApplicationInsights-Home/blob/master/API/CreateReleaseAnnotation.ps1) PowerShell script from GitHub to create annotations from any process you like, without using Azure DevOps.
0 commit comments