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/load-testing/how-to-appservice-insights.md
+20-16Lines changed: 20 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,43 +26,47 @@ Azure Load Testing Preview collects detailed resource metrics to help you identi
26
26
- An Azure Load Testing resource. If you need to create an Azure Load Testing resource, see the quickstart [Create and run a load test](./quickstart-create-and-run-load-test.md).
27
27
- An Azure App Service workload that you're running a load test against and that you've added to the app components to monitor during the load test.
28
28
29
-
## Get more insights when you test an App Service workload
29
+
## Use App Service diagnostics for your load test
30
30
31
-
In this section, you use [App Service diagnostics](/azure/app-service/overview-diagnostics.md) to get more insights from load testing an Azure App Service workload.
31
+
Azure Load Testing lets you monitor server-side metrics for your Azure app components for a load test. You can then visualize and analyze these metrics in the Azure Load Testing dashboard.
32
32
33
-
1. In the [Azure portal](https://portal.azure.com), go to your Azure Load Testing resource.
33
+
When the application you're load testing is hosted on Azure App Service, you can get additional insights by using [App Service diagnostics](/azure/app-service/overview-diagnostics.md).
34
34
35
-
1. On the left pane, select **Tests** to view the list of tests, and then select your test.
35
+
To view the App Service diagnostics information for your application under load test:
36
36
37
-
1.On the test runs page, select **Configure**, and then select **App Components**to add or remove Azure resources to monitor during the load test.
37
+
1.Go to the [Azure portal](https://portal.azure.com).
38
38
39
-
:::image type="content" source="media/how-to-appservice-insights/configure-app-components.png" alt-text="Screenshot that shows the 'Configure' and 'App Components' buttons for configuring the load test.":::
39
+
1. Add your App Service resource to the load test appcomponents. Follow the steps in [monitor server-side metrics](./how-to-monitor-server-side-metrics.md) to add your app service.
40
40
41
-
1. Select the **Monitoring** tab, and then add your app service to the list of app components to monitor.
41
+
:::image type="content" source="media/how-to-appservice-insights/test-monitoring-app-service.png" alt-text="Screenshot of the Monitoring tab when editing a load test in the Azure portal, highlighting the App Service resource.":::
42
42
43
-
:::image type="content" source="media/how-to-appservice-insights/test-monitoring-app-service.png" alt-text="Screenshot of the 'Edit test' pane for selecting and app service resource to monitor.":::
44
-
45
-
1. Select **Run** to execute the load test.
43
+
1. Select **Run** to run the load test.
46
44
47
45
After the test finishes, you'll notice a section about App Service on the test result dashboard.
48
46
49
-
1. Select the **here** link in the App Service message.
47
+
:::image type="content" source="media/how-to-appservice-insights/test-result-app-service-diagnostics.png" alt-text="Screenshot that shows the 'App Service' section on the load testing dashboard in the Azure portal.":::
48
+
49
+
1. Select the hyperlink in the App Service message to view the App Service diagnostics information.
50
50
51
-
:::image type="content" source="media/how-to-appservice-insights/test-result-app-service-diagnostics.png" alt-text="Screenshot that shows the 'App Service' section on the test result dashboard.":::
51
+
App Service diagnostics enables you to view in-depth information and dashboard about the performance, resource usage, and stability of your app service.
52
52
53
-
Your Azure App Service **Availability and Performance** page opens, which displays your App Service diagnostics.
53
+
In the screenshot, you notice that there are concerns about the CPU usage, app performance, and failed requests.
54
54
55
55
:::image type="content" source="media/how-to-appservice-insights/app-diagnostics-overview.png" alt-text="Screenshot that shows the App Service diagnostics overview page, with a list of interactive reports on the left pane.":::
56
56
57
-
1.On the left pane, select any of the various interactive reports that are available in App Service diagnostics.
57
+
On the left pane, you can drill deeper into specific issues by selecting one the diagnostics reports. For example, the following screenshot shows the **High CPU Analysis** report.
58
58
59
59
:::image type="content" source="media/how-to-appservice-insights/app-diagnostics-high-cpu.png" alt-text="Screenshot that shows the App Service diagnostics CPU usage report.":::
60
60
61
-
> [!IMPORTANT]
61
+
The following screenshots shows the **Web App Slow** report, which gives details and recommendations about application performance.
62
+
63
+
:::image type="content" source="media/how-to-appservice-insights/app-diagnostics-web-app-slow.png" alt-text="Screenshot that shows the App Service diagnostics slow application report.":::
64
+
65
+
> [!NOTE]
62
66
> It can take up to 45 minutes for the insights data to be displayed on this page.
63
67
64
68
## Next steps
65
69
66
-
- Learn how to [identify performance bottlenecks](./tutorial-identify-bottlenecks-azure-portal.md) for Azure applications.
67
70
- Learn how to [parameterize a load test with secrets and environment variables](./how-to-parameterize-load-tests.md).
71
+
- Learn how to [identify performance bottlenecks](./tutorial-identify-bottlenecks-azure-portal.md) for Azure applications.
68
72
- Learn how to [configure automated performance testing](./tutorial-identify-performance-regression-with-cicd.md).
0 commit comments