prometheus/rules
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
..
fixtures Make TestUpdate() do some work (#4306) 2018-06-22 15:21:04 +01:00
alerting.go Show rule evaluation errors on rules page (#4457) 2018-08-07 00:33:45 +02:00
alerting_test.go Persist alert 'for' state across restarts (#4061) 2018-08-02 11:18:24 +01:00
manager.go Show rule evaluation errors on rules page (#4457) 2018-08-07 00:33:45 +02:00
manager_test.go Remove error return value from NotifyFunc() (#4459) 2018-08-04 21:31:12 +02:00
recording.go Show rule evaluation errors on rules page (#4457) 2018-08-07 00:33:45 +02:00
recording_test.go *: implement query params 2018-02-13 12:17:22 +01:00