mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 17:07:24 +08:00
Merge pull request #28 from asteny/master
consul alerts && fix metric for calculating Redis replication delay
This commit is contained in:
commit
780a590d4c
1 changed files with 8 additions and 0 deletions
|
|
@ -302,6 +302,14 @@ services:
|
|||
- name: prometheus/consul_exporter
|
||||
doc_url: https://github.com/prometheus/consul_exporter
|
||||
rules:
|
||||
- name: Service healthcheck failed
|
||||
description: 'Service: `{{ $labels.service_name }}` Healthcheck: `{{ $labels.service_id }}`'
|
||||
query: 'consul_catalog_service_node_healthy == 0'
|
||||
severity: error
|
||||
- name: Missing Consul master node
|
||||
description: Numbers of consul raft peers less then expected <https://example.ru/ui/{{ $labels.dc }}/services/consul|Consul masters>
|
||||
query: 'consul_raft_peers < number_of_consul_master'
|
||||
severity: error
|
||||
|
||||
- name: Etcd
|
||||
exporters:
|
||||
|
|
|
|||
Loading…
Reference in a new issue