[Wishlist] Add a default set of alerting rules
Bug #1870473 reported by
Xav Paice
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Prometheus2 charm |
Fix Released
|
Wishlist
|
Xav Paice |
Bug Description
Feature request to add a default rule definition for every Prometheus2 deployment that contains a rule to alert when a target is down.
Suggested rule expression could be as simple as: up == 0
Related branches
~xavpaice/charm-prometheus2:add_default_rules
- Paul Goins: Approve
- Alvaro Uria (community): Needs Fixing
- Wouter van Bommel (community): Approve
-
Diff: 134 lines (+69/-1)4 files modifiedconfig.yaml (+21/-0)
reactive/prometheus.py (+28/-1)
templates/generic.rules.j2 (+14/-0)
unit_tests/test_reactive_prometheus.py (+6/-0)
Changed in charm-prometheus2: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
Changed in charm-prometheus2: | |
assignee: | nobody → Xav Paice (xavpaice) |
Changed in charm-prometheus2: | |
milestone: | none → 20.05 |
status: | Confirmed → Fix Committed |
Changed in charm-prometheus2: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.