Blog Post

Azure Observability Blog
1 MIN READ

Application Insights Azue DevOps Release Annotations Implementation Update

casocha's avatar
casocha
Icon for Microsoft rankMicrosoft
Jun 01, 2021

Visualizations & Workbooks are a key component of the App Insights experience. They enable customers to monitor performance / failure trends & debug issues as they occur. 

 

While performance data is critical to understanding the health of your application by itself it lacks the full context to help you understand why performance issues may be happening. Release Annotations are a simple way to add context & quantify the impact of an Azure DevOps release on your metrics. 

 
 

 

Annotations can be automatically created by the Azure Pipelines build system. You can also create annotations to flag any event you like by creating them from PowerShell.

 

If your subscription has an Application Insights resource linked to it and you use one of the following deployment tasks, then you don't need to configure anything else.

 

Task code Task name Versions
AzureAppServiceSettings Azure App Service Settings Any
AzureRmWebAppDeployment Azure App Service deploy V3 and above
AzureFunctionApp Azure Functions Any
AzureFunctionAppContainer Azure Functions for container Any
AzureWebAppContainer Azure Web App for Containers Any
AzureWebApp Azure Web App Any

 

You can also write custom annotations by using an inline PowerShell script.

 

Release annotations are a feature of the cloud-based Azure Pipelines service of Azure DevOps & only available for Azure DevOps repos today.

 

If you're using the App Insights release task today please delete it & switch to the new implementation.

 

Learn more:

Release Annotations documentation

Updated Apr 08, 2022
Version 3.0
  • sburbano's avatar
    sburbano
    Copper Contributor

    What about all of us who use any other deployment method (ARM deployments, PowerApps, multi-cloud deployments,.... you-name-it)?

     

    I woke up this morning to find all my deployment dashboards fully red because, without warning, you deprecated the App Insights release task, and suddenly every pipeline is raising warnings.

     

    Don't get me wrong, I like the feature... it's just the roll-out that I consider 'sub-par', to say the least...

  • AndrewSumner's avatar
    AndrewSumner
    Copper Contributor

    I've manage an Azure DevOps Server (on-premise) and have never seen the above tasks create a release annotation even though the logs say they have, so have always used the release annotation task. Gutted that we now have to re-write this task.