24 Commits

Author SHA1 Message Date
f9962eabff chore: avoid aliasing imports in services (#22499) 2020-02-29 13:35:15 +01:00
2a78d2a61c pkg/services: Check errors (#19712)
* pkg/services: Check errors
* pkg/services: Don't treat context.Canceled|context.DeadlineExceeded as error
2019-10-22 14:08:18 +02:00
9904e14f8e Alerting: Fix dates stored in local time when pausing alerts (#19525)
* Make tests more sensitive to timezone.

* Time stamps should use UTC for consistency.

* Test: Assert state is paused after pauseAllAlerts call.
2019-10-08 17:25:15 +03:00
d25284a364 introduce state unknown for rules that have not been evaluated yet 2018-11-05 10:50:28 +01:00
f5cc7618c5 alert: add missing test after refactor 2018-07-17 22:17:43 +02:00
13c6f37ea5 alerting: show alerts for user with Viewer role
changelog: add notes about closing #11167

remove changelog note

reformat alert_test.go
2018-06-04 12:34:30 +03:00
0c269d64d0 Alert panel filters (#11712)
alert list panel: filter alerts by name, dashboard, folder, tags
2018-06-01 14:36:40 +02:00
3f6e525755 Merge pull request #10942 from grafana/pausing_alerts_updates_timestamp
Pausing/un alerts now updates new_state_date
2018-03-07 15:40:12 +01:00
1f3442020b alerts: refactoring tests 2018-02-16 14:37:10 +01:00
c5226a945b alerting: pausing alerts modifies updated.
When pausing an alert the updated field is
modified to the current time.

Closes #10191
2018-02-16 14:24:52 +01:00
8af2c9f1f8 test: added integration test for #10941 2018-02-16 14:17:41 +01:00
5323971c21 refactoring: alert rule query refactoring (#10941) 2018-02-16 13:56:04 +01:00
cbbbccf12a refactoring dashoard folder guardian 2017-06-17 18:24:38 -04:00
1248728d7f WIP: rough prototype of dashboard folders
Breaks some stuff like selected dash in the search result.
In dashboard search, if the user is not searching then the result is
returned as a tree structure. No ACL's or user group ux yet.
2017-06-12 15:49:09 +02:00
a2257ec3d0 tech(alerting): renames pause all method 2016-12-19 15:17:49 +01:00
ecdf1888c4 feat(alerting): removes pause per datasource 2016-12-19 13:24:45 +01:00
d9f2519916 Renamed Initialized to Pending 2016-11-01 07:30:55 -07:00
dcaae47e96 Fixed tests 2016-10-28 14:54:55 -07:00
b0c7e61ef8 feat(alerting): removed severity 2016-09-13 15:09:55 +02:00
712061ab4f test(alerting): fixes broken unit tests 2016-09-07 11:45:38 +02:00
16e75a3036 feat(alerting): add alert message to slack integration 2016-08-12 10:12:04 +02:00
1edd224168 feat(alerting): fixing failing unit tests 2016-08-01 14:34:58 +02:00
e8a324c7f5 feat(alerting): add frequency back to alert model 2016-06-17 08:27:38 +02:00
779ea55ee0 style(alerting): rename executor -> handler 2016-06-15 11:49:20 +02:00