mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 08:57:19 +08:00
add sql server rules
This commit is contained in:
parent
4cd3ff1d4a
commit
88e812c78e
1 changed files with 14 additions and 0 deletions
|
|
@ -465,6 +465,20 @@ groups:
|
|||
query: '((sum (pg_locks_count)) / (pg_settings_max_locks_per_transaction * pg_settings_max_connections)) > 0.20'
|
||||
severity: critical
|
||||
|
||||
- name: SQL Server
|
||||
exporters:
|
||||
- name: Ozarklake/prometheus-mssql-exporter
|
||||
doc_url: https://github.com/Ozarklake/prometheus-mssql-exporter
|
||||
rules:
|
||||
- name: SQL Server down
|
||||
description: SQl server instance is down
|
||||
query: mssql_up == 0
|
||||
severity: critical
|
||||
- name: SQL Server deadlock
|
||||
description: SQL Server is having some deadlock.
|
||||
query: irate(mssql_deadlocks[2m]) > 0
|
||||
severity: warning
|
||||
|
||||
- name: PGBouncer
|
||||
exporters:
|
||||
- name: spreaker/prometheus-pgbouncer-exporter
|
||||
|
|
|
|||
Loading…
Reference in a new issue