Skip to content

Commit 11830bf

Browse files
committed
intro clarity
1 parent 0b8b27a commit 11830bf

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

articles/machine-learning/how-to-enable-app-insights.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ ms.date: 03/12/2020
1515
# Monitor and collect data from ML web service endpoints
1616
[!INCLUDE [applies-to-skus](../../includes/aml-applies-to-basic-enterprise-sku.md)]
1717

18-
In this article, you learn how to collect data from and monitor models deployed to web service endpoints in Azure Kubernetes Service (AKS) or Azure Container Instances (ACI) by enabling Azure Application Insights. In addition to collecting an endpoint's output data and response, you can monitor:
18+
In this article, you learn how to collect data from and monitor models deployed to web service endpoints in Azure Kubernetes Service (AKS) or Azure Container Instances (ACI) by enabling Azure Application Insights via
19+
* [Azure Machine Learning Python SDK](#python)
20+
* [Azure Machine Learning studio](#studio) at https://ml.azure.com
21+
22+
In addition to collecting an endpoint's output data and response, you can monitor:
1923

2024
* Request rates, response times, and failure rates
2125
* Dependency rates, response times, and failure rates
@@ -29,6 +33,7 @@ In this article, you learn how to collect data from and monitor models deployed
2933
* If you don't have an Azure subscription, create a free account before you begin. Try the [free or paid version of Azure Machine Learning](https://aka.ms/AMLFree) today
3034

3135
* An Azure Machine Learning workspace, a local directory that contains your scripts, and the Azure Machine Learning SDK for Python installed. To learn how to get these prerequisites, see [How to configure a development environment](how-to-configure-environment.md)
36+
3237
* A trained machine learning model to be deployed to Azure Kubernetes Service (AKS) or Azure Container Instance (ACI). If you don't have one, see the [Train image classification model](tutorial-train-models-with-aml.md) tutorial
3338

3439
## Web service metadata and response data
@@ -38,6 +43,8 @@ In this article, you learn how to collect data from and monitor models deployed
3843
3944
The metadata and response to the service - corresponding to the web service metadata and the model's predictions - are logged to the Azure Application Insights traces under the message `"model_data_collection"`. You can query Azure Application Insights directly to access this data, or set up a [continuous export](https://docs.microsoft.com/azure/azure-monitor/app/export-telemetry) to a storage account for longer retention or further processing. Model data can then be used in the Azure Machine Learning to set up labeling, retraining, explainability, data analysis, or other use.
4045

46+
<a name="python"></a>
47+
4148
## Use Python SDK to configure
4249

4350
### Update a deployed service
@@ -80,7 +87,11 @@ To disable Azure Application Insights, use the following code:
8087
## replace <service_name> with the name of the web service
8188
<service_name>.update(enable_app_insights=False)
8289
```
90+
91+
<a name="studio"></a>
92+
8393
## Use Azure Machine Learning studio to configure
94+
8495
You can also enable Azure Application Insights from Azure Machine Learning studio when you're ready to deploy your model with these steps.
8596

8697
1. Sign in to your workspace at https://ml.azure.com/

0 commit comments

Comments
 (0)