From 3d7c8094477345f6b6e31b47bc97e87f11f01aae Mon Sep 17 00:00:00 2001 From: rahul188 Date: Thu, 28 Sep 2023 16:59:30 +0530 Subject: [PATCH] [Product Partnerships] Added New Alert For Azure ML --- .../ModelDeployFailed.yml | 33 +++++++++++++++++++ .../azure/azure-machine-learning/config.yml | 4 +-- 2 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 alert-policies/azure-machine-learning/ModelDeployFailed.yml diff --git a/alert-policies/azure-machine-learning/ModelDeployFailed.yml b/alert-policies/azure-machine-learning/ModelDeployFailed.yml new file mode 100644 index 0000000000..6e66d86f62 --- /dev/null +++ b/alert-policies/azure-machine-learning/ModelDeployFailed.yml @@ -0,0 +1,33 @@ +name: Model Deployment Failed + +description: |+ + This alert is triggered if the number of Failure exceeds 20 within 10 minutes. +type: STATIC +nrql: + query: "FROM Metric SELECT sum(azure.machinelearningservices.workspaces.ModelDeployFailed) AS 'ModelDeployFailed'" + +# Function used to aggregate the NRQL query value(s) for comparison to the terms.threshold (Default: SINGLE_VALUE) +valueFunction: SINGLE_VALUE + +# List of Critical and Warning thresholds for the condition +terms: + - priority: CRITICAL + # Operator used to compare against the threshold. + operator: ABOVE + # Value that triggers a violation + threshold: 20 + # Time in seconds; 120 - 3600 + thresholdDuration: 600 + # How many data points must be in violation for the duration + thresholdOccurrences: ALL + + # Adding a Warning threshold is optional + - priority: WARNING + operator: ABOVE + threshold: 10 + thresholdDuration: 600 + thresholdOccurrences: ALL + +# Duration after which a violation automatically closes +# Time in seconds; 300 - 2592000 (Default: 86400 [1 day]) +violationTimeLimitSeconds: 86400 \ No newline at end of file diff --git a/quickstarts/azure/azure-machine-learning/config.yml b/quickstarts/azure/azure-machine-learning/config.yml index 1055214a7f..ec1eff9ebb 100644 --- a/quickstarts/azure/azure-machine-learning/config.yml +++ b/quickstarts/azure/azure-machine-learning/config.yml @@ -1,6 +1,6 @@ id: 7b419a4e-f2e7-4e2d-b0fc-130cd8e942c4 slug: azure-machine-learning -title: Azure Machine Learning +title: Azure Machine Learning Through Azure Monitor Integration description: |- ## What is Azure Machine Learning? @@ -18,7 +18,7 @@ description: |- Start ingesting your Azure data today and get immediate access to our visualization dashboards so you can optimize your Azure service. summary: |- - Monitor Azure Machine Learning by connecting Azure to New Relic + Monitor Azure Machine Learning Through Azure Monitor Integration by connecting Azure to New Relic icon: logo.png level: New Relic authors: