mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-24 02:17:00 +08:00
fix: double usage in query and alert configuration
This commit is contained in:
parent
5d8f911d97
commit
5559e0140b
1 changed files with 1 additions and 1 deletions
|
|
@ -311,7 +311,7 @@ groups:
|
||||||
severity: error
|
severity: error
|
||||||
- name: MySQL slow query count
|
- name: MySQL slow query count
|
||||||
description: MySQL server is having some slow query. The count is higher than 0 on {{ $labels.instance }}
|
description: MySQL server is having some slow query. The count is higher than 0 on {{ $labels.instance }}
|
||||||
query: 'rate(mysql_global_status_slow_queries[5m]) > 0'
|
query: '(mysql_global_status_slow_queries > 0'
|
||||||
severity: warning
|
severity: warning
|
||||||
- name: MySQL restart
|
- name: MySQL restart
|
||||||
description: MySQL has just been restarted, less than one minute ago on {{ $labels.instance }}.
|
description: MySQL has just been restarted, less than one minute ago on {{ $labels.instance }}.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue