Your team deploys a web app by using Azure Pipelines. The app is monitored by Application Insights. After some recent releases, response times increased, and nobody could tell which release caused the change. Assume the pipeline and Application Insights resource meet the prerequisites for the integration you choose.
You must meet the following requirements:
- Engineers must see each deployment marked on the Application Insights performance charts.
- The solution must not require the team to write or maintain custom scripts.
What should you implement?
Release annotations mark deployments on Application Insights charts so engineers can compare release timing with changes in response times. Because this deployment meets the prerequisites for automatic annotations, Azure Pipelines can provide the markers without custom scripts. PowerShell annotations violate the script restriction, while work item integration and delivery metric reports do not provide the required chart markers.
- Not correct: Configure work item integration so Application Insights alerts create Azure Boards work items. Work item integration creates work items that contain Application Insights data when alerts fire. It does not mark deployment events on the performance charts.
- Not correct: Track release deployment frequency by using an Azure DevOps Analytics query. Release deployment frequency measures how often releases are deployed. Tracking that metric does not place deployment markers on Application Insights performance charts.
- Not correct: Add a deployment success rate widget to a team dashboard in Azure DevOps. Deployment success rate measures the percentage of successful deployments. Displaying that metric on an Azure DevOps dashboard does not place deployment markers on Application Insights charts.
- Correct: Use the release annotations that Azure Pipelines generates automatically during deployments. Release annotations mark deployment events on Application Insights charts. Given the stated prerequisite assumption, automatic annotations meet both the chart requirement and the no-scripts requirement.
- Not correct: Add a PowerShell step to each pipeline that creates custom release annotations. Custom annotations created with PowerShell would mark deployments on the charts. However, the team would have to write and maintain the script, which the requirements prohibit.