From d5cac4c5aab8b84ee6c03fe6e48848f9208cd4f6 Mon Sep 17 00:00:00 2001 From: Eldar Kuli-zade Date: Mon, 27 Sep 2021 16:58:14 +0300 Subject: [PATCH] Added new AML categories and updated metrics categories (#180) * Added new AML tables according to the reference: https://docs.microsoft.com/en-us/azure/machine-learning/monitor-resource-reference#schemas * aligning * fixed "Metric category 'Run' is not supported, supported categories are: 'AllMetrics'." * fixed categories Co-authored-by: eldarkt Co-authored-by: Marvin Buss <34542414+marvinbuss@users.noreply.github.com> --- .../params.machineLearning.json | 113 +++++++++++++----- 1 file changed, 85 insertions(+), 28 deletions(-) diff --git a/infra/Policies/PolicyDefinitions/DiagnosticSettings/params.machineLearning.json b/infra/Policies/PolicyDefinitions/DiagnosticSettings/params.machineLearning.json index fe3fcf7..2168929 100644 --- a/infra/Policies/PolicyDefinitions/DiagnosticSettings/params.machineLearning.json +++ b/infra/Policies/PolicyDefinitions/DiagnosticSettings/params.machineLearning.json @@ -95,34 +95,7 @@ "workspaceId": "[parameters('logAnalytics')]", "metrics": [ { - "category": "Run", - "enabled": true, - "retentionPolicy": { - "days": 0, - "enabled": false - }, - "timeGrain": null - }, - { - "category": "Resource", - "enabled": true, - "retentionPolicy": { - "days": 0, - "enabled": false - }, - "timeGrain": null - }, - { - "category": "Model", - "enabled": true, - "retentionPolicy": { - "days": 0, - "enabled": false - }, - "timeGrain": null - }, - { - "category": "Quota", + "category": "AllMetrics", "enabled": true, "retentionPolicy": { "days": 0, @@ -151,6 +124,90 @@ { "category": "AmlRunStatusChangedEvent", "enabled": true + }, + { + "category": "ModelsChangeEvent", + "enabled": true + }, + { + "category": "ModelsReadEvent", + "enabled": true + }, + { + "category": "ModelsActionEvent", + "enabled": true + }, + { + "category": "DeploymentReadEvent", + "enabled": true + }, + { + "category": "DeploymentEventACI", + "enabled": true + }, + { + "category": "DeploymentEventAKS", + "enabled": true + }, + { + "category": "InferencingOperationAKS", + "enabled": true + }, + { + "category": "InferencingOperationACI", + "enabled": true + }, + { + "category": "EnvironmentChangeEvent", + "enabled": true + }, + { + "category": "EnvironmentReadEvent", + "enabled": true + }, + { + "category": "DataLabelChangeEvent", + "enabled": true + }, + { + "category": "DataLabelReadEvent", + "enabled": true + }, + { + "category": "ComputeInstanceEvent", + "enabled": true + }, + { + "category": "DataStoreChangeEvent", + "enabled": true + }, + { + "category": "DataStoreReadEvent", + "enabled": true + }, + { + "category": "DataSetChangeEvent", + "enabled": true + }, + { + "category": "DataSetReadEvent", + "enabled": true + }, + { + "category": "PipelineChangeEvent", + "enabled": true + }, + { + "category": "PipelineReadEvent", + "enabled": true + }, + { + "category": "RunEvent", + "enabled": true + }, + { + "category": "RunReadEvent", + "enabled": true } ] }