prometheus/web
Benji Visser 8bb6e0dd6e Show rule evaluation errors on rules page (#4457)
* adding information about the health and errors for Rules

adding Health() and LastError() to the Rule interface. This will allow
us to easily surface information about rules.

Signed-off-by: noqcks <benny@noqcks.io>

* updating rules.html with fields for Rule errors and health state

Signed-off-by: noqcks <benny@noqcks.io>

* fix code comment grammar & access Rule health/error info using a mutex

Signed-off-by: noqcks <benny@noqcks.io>

* s/Errors/Error/ in rules.html to remain consistent with targets.html

Signed-off-by: noqcks <benny@noqcks.io>

* adding periods to code comments in reporting/alerting

Signed-off-by: noqcks <benny@noqcks.io>

* putting health/error below mutex in struct field

Signed-off-by: noqcks <benny@noqcks.io>
2018-08-07 00:33:45 +02:00
..
api Persist alert 'for' state across restarts (#4061) 2018-08-02 11:18:24 +01:00
ui Show rule evaluation errors on rules page (#4457) 2018-08-07 00:33:45 +02:00
federate.go Simplify BufferedSeriesIterator usage (#4294) 2018-07-18 05:10:28 +01:00
federate_test.go Fix spelling mistakes found by codespell (#4065) 2018-04-27 13:04:02 +01:00
web.go Show rule evaluation errors on rules page (#4457) 2018-08-07 00:33:45 +02:00
web_test.go web: restore old path prefix behavior 2018-06-15 09:08:14 +01:00