Most well-balanced SQL Servers will have some degree of blocking. This metric attempts to measure the impact of lead blocking queries against other queries. Higher values indicate that many connections are being blocked, and queries should be tuned to reduce the amount of contention. Read more
Mirroring systems can go offline. This metric returns the current state of the mirroring system so you’ll know from a single value what the current status of your mirroring environment is. Read more
This metric allows you to keep track of the role of a given database within your mirroring set up. The single value returned tells you whether the database is the principal or the mirror. Read more
This metric returns a single value that tells you whether the witness is connected, disconnected or unknown. Knowing if it is offline can be as important as knowing if your mirrored databases are available. Read more
This metric returns the longest running instance of the named job in the last hour. By creating multiple custom metrics from this example – one for each job you're interested in – you can specify alert thresholds for each job individually. Read more
This metric counts how many queries are running, and alerts you if the value goes above a defined threshold. Read more
What are custom metrics?
The SQL Monitor custom metric feature lets you run T-SQL queries against your SQL Servers to collect specific data. You can analyze and receive alerts about your custom data just like everything else SQL Monitor collects.
But what if you don’t want to write your own queries? No problem. Redgate has brought together a range of quality custom metrics for you to use in SQL Monitor, which are all are free, tried and tested. You can install straight away, and use the resources on this site to help you write your own.
SQL Monitor is a SQL Server performance monitoring tool that gives you real-time and historical SQL Server performance data with alerts and diagnostics.
With its embedded expertise from SQL Server experts and MVPs, it gives you the information and advice you need to find and fix issues before users are even aware.
This metric returns the number of non-Microsoft modules loaded into the SQL Server address space. Having a lot of modules loaded into the address space can cause performance issues in SQL Server. This metric lets you keep an eye on how many modules you have, other than those created by Microsoft. Thanks to Nicolaas Botes for […] Read more
This metric and alert will notify you when a SQL Server instance is restarted for any reason. The value returned by the metric is not useful on its own, and is only used by the alert to detect changes. When the server has not been restarted it will report 0 , and when the server […] Read more
This metric checks whether SQL Server services are running under any of the default accounts, such as localsystem. Using a default account for SQL Server services can be a security risk. Read more