We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 835edca commit 21bdf50Copy full SHA for 21bdf50
cookbooks/prometheus/templates/default/alert_rules.yml.erb
@@ -421,6 +421,13 @@ groups:
421
alertgroup: "{{ $labels.instance }}"
422
annotations:
423
connections_used: "{{ $value | humanizePercentage }}"
424
+ - alert: mysql connection errors
425
+ expr: increase(mysql_global_status_connection_errors_total[1m]) > 0
426
+ for: 0m
427
+ labels:
428
+ alertgroup: "{{ $labels.instance }}"
429
+ annotations:
430
+ error_count: "{{ $value }}"
431
- name: network
432
rules:
433
- alert: interface redundancy lost
0 commit comments