Share via

Determine Correct metrics for Alerts when Azure SQL is down

Shweta Chavan 40 Reputation points
2023-10-16T18:57:59.1333333+00:00

Hi Team,

I wanted to setup an alert , when Azure SQL is down. Which metrics is the correct one to be used to alert when Azure SQL is down. Moreover how much is the cost implications for setting up an alert in Azure Monitor.

Thanks!

Azure Monitor
Azure Monitor

An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.

Azure SQL Database
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. tbgangav-MSFT 10,431 Reputation points Moderator
    2023-10-22T08:46:48.98+00:00

    Hi @Shweta Chavan ,

    To elaborate further upon Rahul's response, as explained here you could leverage 'Resource Health' signal when you setup an alert. For illustration, please check below screenshots which shows you the alert configuration from Azure Monitor. Regarding the cost, as explained here, Azure Monitor activity alerts, service health alerts and resource health alerts are free of charge.

    Illustration: From Azure Monitor, configure alert as shown below and then select action group as required, provide alert name, tags, and review and create it.

    User's image

    User's image

    User's image

    User's image

    User's image

    0 comments No comments

  2. RahulRandive 10,506 Reputation points Volunteer Moderator
    2023-10-16T20:03:10.7366667+00:00

    Hi Shweta Chavan

    I believe you can set up an alert on the resource health of server.  

    Resource health determines the health of your SQL database by examining the success and failure of logins to the resource. Currently, Resource health for your SQL Database resource only examines login failures due to system error and not user error. The health status is updated every 1 to 2 minutes.

    Here is a reference document on how to set up an alert on those line https://azure.microsoft.com/en-us/blog/three-ways-to-get-notified-about-azure-service-issues/

    Thank you!

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.