etcd/Documentation/etcd-mixin
paulfantom 886d30d223 Documentation: provide better user experience with autorefreshing grafana dashboard 2019-05-08 06:58:28 -04:00
..
README.md Documentation/etcd-mixin: Fix EtcdInsufficientMembers alerting 2018-10-15 19:23:43 +02:00
mixin.libsonnet Documentation: provide better user experience with autorefreshing grafana dashboard 2019-05-08 06:58:28 -04:00
test.yaml Documentation/etcd-mixin: Fix EtcdInsufficientMembers alerting 2018-10-15 19:23:43 +02:00

README.md

Prometheus Monitoring Mixin for etcd

NOTE: This project is alpha stage. Flags, configuration, behaviour and design may change significantly in following releases.

A set of customisable Prometheus alerts for etcd.

Instructions for use are the same as the kubernetes-mixin.

Background

  • For more information about monitoring mixins, see this design doc.

Testing alerts

Make sure to have jsonnet and gojsontoyaml installed.

First compile the mixin to a YAML file, which the promtool will read:

jsonnet -e '(import "mixin.libsonnet").prometheusAlerts' | gojsontoyaml > mixin.yaml

Then run the unit test:

promtool test rules test.yaml