We need to setup Alert if 80% of space used by Azure SQL MI instance then it should be alerted. In existing Alert metrics not provide option to use value in percentage(%). So anyone have any idea how we can setup alert on % space used by azure mi?
How to Setup Alert on Azure SQL MI instance for % storage space used?
688 Views Asked by NP007 At
2
There are 2 best solutions below
2

As of now, the available options for setting alerts for managed instance are below only as mentioned in document,
- Average CPU percentage
- IO bytes read
- IO bytes written
- IO requests count
- Storage space reserved
- Storage space used
- Virtual core count
Storage alerts are available as of now are in count format only. Percentage is not available by default from azure. If you want to calculate available space in sql MI refer this so thread
If you have defined diagnostic settings such that the SQLMI sends its metrics to a log analytics workspace, you can use a log search alert: