Monitor server-side application metrics with Azure Load Testing Preview

In this article, you'll learn how to configure your load test to monitor server-side application metrics with Azure Load Testing Preview.

Azure Load Testing integrates with Azure Monitor to capture server-side resource metrics for Azure-hosted applications. You can specify which Azure components and resource metrics to monitor for your load test run.

Important

Azure Load Testing is currently in preview. See the Supplemental Terms of Use for Microsoft Azure Previews for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.

Prerequisites

Configure server-side monitoring for a load test

In this section, you'll update an existing load test to configure the Azure application components to capture server-side resource metrics for.

  1. Navigate to your Azure Load Testing resource in the Azure portal.

  2. Select Tests from the left navigation, and then select your load test from the list.

    Screenshot that shows how to select a load test.

  3. On the test runs page, select Configure, and then select App Components to add or remove Azure resources to monitor during the load test.

    Screenshot that shows how to configure app components for a load test.

    You can add or remove Azure resources by checking the boxes, and then selecting Apply.

    Screenshot that shows how to add or remove app components to a load test configuration.

    The Azure Load Testing service will capture resource metrics for the selected Azure components and display them in the test result dashboard.

  4. Select Configure, and then select Metrics to select the specific resource metrics to capture during the load test.

    Screenshot that shows how to configure metrics for a load test.

  5. Update the list of metrics you want to capture, and then select Apply to save your changes.

    Screenshot that shows how to modify the list of resource metrics.

    Alternatively, you can also update the app components and metrics from the test result details page.

  6. Select Run to run the load test with the new configuration settings.

    Screenshot that shows how to run  the test from the test runs page.

    If you've updated the load test from the test results page, you can select Rerun to run the load test with the new configuration settings.

    Screenshot that shows how to rerun the load test from the test result dashboard.

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

    Screenshot that shows the updated server-side metrics in the test result dashboard.

Next steps