[SOLVED] How to set a metric condition in Azure SQL Managed Instance


This Content is from Stack Overflow. Question asked by nam

My Azure SQL Managed Instance is showing the storage utilization chart as follows:
enter image description here

And the Average Storage used matric is showing as follows:

enter image description here

Goal: Set a condition for the metric Storage Space used so that when the average space used exceeds 52k, I get an alert. Currently, average storage used is showing 51.74k as depicted in the image 2 below)

Question: What threshold value should I set in the Alert Rule, to achieve the above goal?

Ref: Create alerts for Azure SQL Managed Instance


Please configure in the Alert panel as shown below for a threshold limit of 52k.

Select Unit as "k" and Threshold value as 52

enter image description here

This Question was asked in StackOverflow by nam and Answered by ShaktiSingh-MSFT It is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?