Clayton Coleman 465592a718 Documentation/etcd-mixin: Add an alert for down etcd members | vor 5 Jahren | |
---|---|---|
.. | ||
README.md | vor 6 Jahren | |
mixin.libsonnet | vor 5 Jahren | |
test.yaml | vor 5 Jahren |
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.
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