etcd/contrib/mixin
Göran Gustafsson 1002346ceb
etcd-mixin: Limit etcdDatabaseHighFragmentationRatio to 100MB+
Signed-off-by: Göran Gustafsson <gustafsson.g@gmail.com>
2023-03-07 14:58:58 +01:00
..
Makefile contrib/mixin: Generate rules, fix tests 2022-02-10 16:17:03 +01:00
README.md contrib/mixin: Generate rules, fix tests 2022-02-10 16:17:03 +01:00
mixin.libsonnet etcd-mixin: Limit etcdDatabaseHighFragmentationRatio to 100MB+ 2023-03-07 14:58:58 +01:00
test.yaml etcd-mixin: Limit etcdDatabaseHighFragmentationRatio to 100MB+ 2023-03-07 14:58:58 +01: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. You can fetch it via

make tools

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

make manifests

Then run the unit test:

promtool test rules test.yaml