consul

Overview

Grafana dashboards and Prometheus alerts for operating Consul, in the form of a monitoring mixin.

Jsonnet source code is available at github.com/grafana/jsonnet-libs

Alerts

Complete list of pregenerated alerts is available here.

consul

ConsulUp

alert: ConsulUp
annotations:
  description: Consul '{{ $labels.job }}' is not up.
  summary: Consul is not up.
expr: |
  consul_up != 1
for: 1m
labels:
  severity: critical

ConsulMaster

alert: ConsulMaster
annotations:
  description: Consul '{{ $labels.job }}' has no master.
  summary: Consul has no master.
expr: |
  consul_raft_leader != 1
for: 1m
labels:
  severity: critical

ConsulPeers

alert: ConsulPeers
annotations:
  description: Consul '{{ $labels.job }}' does not have 3 peers.
  summary: Consul does not have peers.
expr: |
  consul_raft_peers != 3
for: 10m
labels:
  severity: critical

Dashboards

Following dashboards are generated from mixins and hosted on github: