Monitor managed online endpoints (preview)

Important

This feature is currently in public preview. This preview version is provided without a service-level agreement, and it's not recommended for production workloads. Certain features might not be supported or might have constrained capabilities. For more information, see Supplemental Terms of Use for Microsoft Azure Previews.

In this article, you learn how to monitor Azure Machine Learning managed online endpoints (preview). Use Application Insights to view metrics and create alerts to stay up to date with your managed online endpoints.

In this article you learn how to:

  • View metrics for your managed online endpoint
  • Create a dashboard for your metrics
  • Create a metric alert

Prerequisites

  • Deploy an Azure Machine Learning managed online endpoint (preview).
  • You must have at least Reader access on the endpoint.

View metrics

Use the following steps to view metrics for a managed endpoint or deployment:

  1. Go to the Azure portal.

  2. Navigate to the managed online endpoint or deployment resource.

    Managed online endpoints and deployments are Azure Resource Manager (ARM) resources that can be found by going to their owning resource group. Look for the resource types Machine Learning online endpoint and Machine Learning online deployment.

  3. In the left-hand column, select Metrics.

Available metrics

Depending on the resource that you select, the metrics that you see will be different. Metrics are scoped differently for managed online endpoints and managed online deployments (preview).

Metrics at endpoint scope

  • Request Latency
  • Request Latency P50 (Request latency at the 50th percentile)
  • Request Latency P90 (Request latency at the 90th percentile)
  • Request Latency P95 (Request latency at the 95th percentile)
  • Requests per minute
  • New connections per second
  • Active connection count
  • Network bytes

Note

Bandwidth will be throttled if the limits are exceeded (see managed online endpoints section in Manage and increase quotas for resources with Azure Machine Learning). To determine if requests are throttled:

  • Monitor the "Network bytes" metric
  • The response headers will have the fields: ms-azureml-bandwidth-request-delay-ms and ms-azureml-bandwidth-response-delay-ms. The values of the fields are the delays, in milliseconds, of the bandwidth throttling.

Split on the following dimensions:

  • Deployment
  • Status Code
  • Status Code Class

Metrics at deployment scope

  • CPU Utilization Percentage
  • Deployment Capacity (the number of instances of the requested instance type)
  • Disk Utilization
  • GPU Memory Utilization (only applicable to GPU instances)
  • GPU Utilization (only applicable to GPU instances)
  • Memory Utilization Percentage

Split on the following dimension:

  • InstanceId

Create a dashboard

You can create custom dashboards to visualize data from multiple sources in the Azure portal, including the metrics for your managed online endpoint. For more information, see Create custom KPI dashboards using Application Insights.

Create an alert

You can also create custom alerts to notify you of important status updates to your managed online endpoint:

  1. At the top right of the metrics page, select New alert rule.

    Monitoring online endpoints: screenshot showing 'New alert rule' button surrounded by a red box

  2. Select a condition name to specify when your alert should be triggered.

    Monitoring online endpoints: screenshot showing 'Configure signal logic' button surrounded by a red box

  3. Select Add action groups > Create action groups to specify what should happen when your alert is triggered.

  4. Choose Create alert rule to finish creating your alert.

Next steps