Do you add Web Tests to Application Insights to monitor trends over time?

Updated by Tiago Araújo [SSW] 7 months ago. See history

123

As soon as you have configured Application Insights, you should immediately add a Web Test to track general performance trends over time. You can configure test agents to access your application from different locations around the globe to give a general idea of what users will experience. Instructions on how to add Web Tests can be found on [Microsoft Learn - Application Insights availability tests (https://learn.microsoft.com/en-us/azure/azure-monitor/app/availability?tabs=standard).

Setting up a Web Test will allow you to query and see how the performance of your application has changed over a period of time and to help you spot any anomalies. It can be useful to query over a long period of time (e.g. a year) and see if the performance has stayed the same or if there have been any regressions in responsiveness.

✅ Figure: ![Good example - You can clearly see the point where a fix to production improved the initial page load](/uploads/rules/do-you-add-web-tests-to-application-insights-to-montior-trends-over-time/App-Insights-Web-Test.png)

You have the ability to drill down into web test results, to get an overview of the response time of the resources on a page. This can help discover if certain resources are slowing the response time.

✅ Figure: ![Good example - Reviewing the Web test results that provides vital information](/uploads/rules/do-you-add-web-tests-to-application-insights-to-montior-trends-over-time/App-Insights-Web-Test-drilldown.png)

acknowledgements
related rules