Browse Source

Add alert on mysql_up metric

Change-Id: I4de34ad6db6805235966ebcca6fe43ea1faaea42
revert-bumpto57-2
Simon Pasquier 7 years ago
parent
commit
0b8359ea11
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      galera/meta/prometheus.yml

+ 9
- 0
galera/meta/prometheus.yml View File

{% raw %} {% raw %}
server: server:
alert: alert:
GaleraServiceDown:
if: >-
mysql_up != 1
labels:
severity: warning
service: mysql
annotations:
summary: 'Galera service down'
description: 'Galera service is down on node {{ $labels.host }}'
GaleraNodeNotReady: GaleraNodeNotReady:
if: 'mysql_wsrep_ready != 1' if: 'mysql_wsrep_ready != 1'
for: 1m for: 1m

Loading…
Cancel
Save