DevOps doesn't stop at deployment into production. Monitoring and understanding your application provides valuble insight.
- In Visual Studio right-click on the WebApp project | Application Insights | Configure Application Insights
- Update the SDK, if needed, and click Start Free.
- Set the correct account, subscription and resource - for resource that will probably be a New resource. Also decide whether you want Application Insights to be capped at the free tier or allow it to exceed the free tier limits. If in doubt select to halt collection at the free limits.
- Commit and push the changes. This will trigger another build and release.
- When the release to QA has completed go to the Azure portal select the Application Insights service for the Web App (it may take a little while for data to show). Click on the Live Stream button.
- Give it a few seconds for some baseline data to show.
- Go to your deployed app and click on the Home, About and Contact pages, then return to the Live Stream to see the data showing.
- Close the Live Stream and click on the Page View Load Time graph.
-
Close the Page response time blade and select Analytics.
- Try some of the queries such as the Users query
This is just a tiny sample of what can be done with Application Insights, you can read more here
Optional: Add an Application Insights widget showing test results to the Lab Progress dashboard by:
- Find and install the Application Insights widget in the marketplace
![]()
- Searching for and adding the Application Insights Chart (and/or Metrics) widget:
![]()
- Configure the widget following these instructions
![]()
- Save the changes, close the widget gallery and save the dashboard by clicking on the blue edit button in the bottom right hand corner.
This completes the DevOps labs.