Skip to content

Commit e6a792b

Browse files
committed
Update Monitor server-side metrics for freshness
1 parent 761c478 commit e6a792b

File tree

5 files changed

+27
-34
lines changed

5 files changed

+27
-34
lines changed
Lines changed: 27 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,84 +1,77 @@
11
---
2-
title: Monitor server-side application metrics for load testing
2+
title: Monitor server-side metrics
33
titleSuffix: Azure Load Testing
4-
description: Learn how to configure a load test to monitor server-side application metrics by using Azure Load Testing.
4+
description: Learn how to capture and monitor server-side application metrics when running a load test with Azure Load Testing. Add Azure app components and resource metrics to your load test configuration.
55
services: load-testing
66
ms.service: load-testing
77
ms.author: nicktrog
88
author: ntrogh
9-
ms.date: 01/18/2023
9+
ms.date: 01/16/2024
1010
ms.topic: how-to
1111

1212
---
1313
# Monitor server-side application metrics by using Azure Load Testing
14-
15-
You can monitor server-side application metrics for Azure-hosted applications when running a load test with Azure Load Testing. In this article, you'll learn how to configure app components and metrics for your load test.
1614

17-
To capture metrics during your load test, you'll first [select the Azure components](#select-azure-application-components) that make up your application. Optionally, you can then [configure the list of server-side metrics](#select-server-side-resource-metrics) for each Azure component.
15+
In this article, you learn how to capture and monitor server-side application metrics when running a load test with Azure Load Testing. When you run a load test for an Azure-hosted application, Azure Load Testing collects resource metrics for your application components and presents them in the load testing dashboard.
16+
17+
To capture metrics during your load test, you update the load test configuration and [select the Azure components](#select-azure-application-components) that make up your application. The service automatically selects the most relevant resource metrics for these app components, depending on the type of component. Optionally, you can [update the list of server-side metrics](#select-server-side-resource-metrics) for each Azure component.
1818

1919
Azure Load Testing integrates with Azure Monitor to capture server-side resource metrics for Azure-hosted applications. Read more about which [Azure resource types that Azure Load Testing supports](./resource-supported-azure-resource-types.md).
2020

2121
## Prerequisites
2222

2323
- An Azure account with an active subscription. If you don't have an Azure subscription, [create a free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
24-
- An Azure Load Testing resource with at least one completed test run. If you need to create an Azure Load Testing resource, see [Tutorial: Run a load test to identify performance bottlenecks](./tutorial-identify-bottlenecks-azure-portal.md).
24+
- An Azure load testing resource. To create a load testing resource, see [Create and run a load test](./quickstart-create-and-run-load-test.md).
2525

26-
## Select Azure application components
26+
## Add Azure app components to a load test
2727

28-
To monitor resource metrics for an Azure-hosted application, you need to specify the list of Azure application components in your load test. Azure Load Testing automatically captures a set of relevant resource metrics for each selected component. When your load test finishes, you can view the server-side metrics in the dashboard.
28+
To monitor resource metrics for an Azure-hosted application, you need to specify the list of Azure application components in your load test configuration. Azure Load Testing automatically captures a set of relevant resource metrics for each selected component. During the load test and after the test finishes, you can view the server-side metrics in the load testing dashboard.
2929

3030
For the list of Azure components that Azure Load Testing supports, see [Supported Azure resource types](./resource-supported-azure-resource-types.md).
3131

3232
Use the following steps to configure the Azure components for your load test:
3333

34-
1. In the [Azure portal](https://portal.azure.com), go to your Azure Load Testing resource.
34+
1. In the [Azure portal](https://portal.azure.com), go to your Azure load testing resource.
3535

3636
1. On the left pane, select **Tests**, and then select your load test from the list.
3737

38-
:::image type="content" source="media/how-to-monitor-server-side-metrics/select-test.png" alt-text="Screenshot that shows a list of load tests to select from.":::
39-
40-
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.
38+
1. On the test details page, select **Configure**, and then select **App Components** to add or remove Azure resources to monitor during the load test.
4139

42-
:::image type="content" source="media/how-to-monitor-server-side-metrics/configure-app-components.png" alt-text="Screenshot that shows the 'App Components' button for displaying app components to configure for a load test.":::
40+
:::image type="content" source="media/how-to-monitor-server-side-metrics/configure-app-components.png" alt-text="Screenshot that shows the 'App Components' button for displaying app components to configure for a load test." lightbox="media/how-to-monitor-server-side-metrics/configure-app-components.png":::
4341

44-
1. Select or clear the checkboxes next to the Azure resources you want to add or remove, and then select **Apply**.
42+
1. On the **Configure App Components** page, select or clear the checkboxes for the Azure resources you want to add or remove, and then select **Apply**.
4543

46-
:::image type="content" source="media/how-to-monitor-server-side-metrics/modify-app-components.png" alt-text="Screenshot that shows how to add or remove app components from a load test configuration.":::
44+
:::image type="content" source="media/how-to-monitor-server-side-metrics/modify-app-components.png" alt-text="Screenshot that shows how to add or remove app components from a load test configuration." lightbox="media/how-to-monitor-server-side-metrics/modify-app-components.png":::
4745

48-
When you run the load test, Azure Load Testing will display the default resource metrics in the test run dashboard.
46+
When you run the load test, Azure Load Testing displays the default resource metrics for the selected app components in the test run dashboard.
4947

50-
You can change the list of resource metrics at any time. In the next section, you'll view and configure the list of resource metrics.
48+
You can change the list of resource metrics for each app component at any time.
5149

52-
## Select server-side resource metrics
50+
## Configure resource metrics for a load test
5351

54-
For each Azure application component, you can select the resource metrics to monitor during your load test.
52+
When you add app components to your load test configuration, Azure Load Testing adds the most relevant resource metrics for these components. You can add or remove resource metrics for each of the app components in your load test.
5553

56-
Use the following steps to view and update the list of resource metrics:
54+
Use the following steps to view and update the list of resource metrics for a load test:
5755

58-
1. On the test runs page, select **Configure**, and then select **Metrics** to select the specific resource metrics to capture during the load test.
56+
1. On the test details page, select **Configure**, and then select **Metrics** to select the specific resource metrics to capture during the load test.
5957

60-
:::image type="content" source="media/how-to-monitor-server-side-metrics/configure-metrics.png" alt-text="Screenshot that shows the 'Metrics' button to configure metrics for a load test.":::
58+
:::image type="content" source="media/how-to-monitor-server-side-metrics/configure-metrics.png" alt-text="Screenshot that shows the 'Metrics' button to configure metrics for a load test." lightbox="media/how-to-monitor-server-side-metrics/configure-metrics.png":::
6159

6260
1. Update the list of metrics you want to capture, and then select **Apply**.
6361

64-
:::image type="content" source="media/how-to-monitor-server-side-metrics/modify-metrics.png" alt-text="Screenshot that shows a list of resource metrics to configure for a load test.":::
65-
66-
Alternatively, you can update the app components and metrics from the page that shows test result details.
62+
:::image type="content" source="media/how-to-monitor-server-side-metrics/modify-metrics.png" alt-text="Screenshot that shows a list of resource metrics to configure for a load test." lightbox="media/how-to-monitor-server-side-metrics/modify-metrics.png":::
6763

6864
1. Select **Run** to run the load test with the new configuration settings.
6965

70-
:::image type="content" source="media/how-to-monitor-server-side-metrics/run-load-test.png" alt-text="Screenshot that shows the 'Run' button for running the load test from the test runs page.":::
66+
:::image type="content" source="media/how-to-monitor-server-side-metrics/run-load-test.png" alt-text="Screenshot that shows the 'Run' button for running the load test from the test details page.":::
7167

7268
Notice that the test result dashboard now shows the updated server-side metrics.
7369

7470
:::image type="content" source="media/how-to-monitor-server-side-metrics/dashboard-updated-metrics.png" alt-text="Screenshot that shows the updated server-side metrics on the test result dashboard.":::
7571

76-
When you update the configuration of a load test, all future test runs will use that configuration. On the other hand, if you update a test run, the new configuration will only apply to that test run.
77-
78-
## Next steps
79-
80-
- Learn how you can [identify performance problems by comparing metrics across multiple test runs](./how-to-compare-multiple-test-runs.md).
72+
> [!NOTE]
73+
> When you update the load test configuration of a load test, all future test runs use the updated configuration. You can also update app components and metrics on the load testing dashboard. In this case, the configuration changes only apply to the current test run.
8174
82-
- Learn how to [set up a high-scale load test](./how-to-high-scale-load.md).
75+
## Related content
8376

84-
- Learn how to [configure automated performance testing](./quickstart-add-load-test-cicd.md).
77+
- [View metrics trends and compare load test results to identify performance regressions](./how-to-compare-multiple-test-runs.md).
78.1 KB
Loading
-9.01 KB
Loading
10.8 KB
Loading
Binary file not shown.

0 commit comments

Comments
 (0)