Grot (@grafanabot)
07bfa64bb4
Alerting: Decouple default template from channel tests ( #35239 ) ( #35973 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
(cherry picked from commit 33d6e11175 )
Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com >
2021-06-21 04:54:29 +02:00
Grot (@grafanabot)
9252d6b05f
Alerting: Fill the empty GeneratorURL ( #35740 ) ( #35803 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
(cherry picked from commit dcd4bf1615 )
Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com >
2021-06-16 12:27:49 +02:00
Grot (@grafanabot)
eae88f8ce8
Alerting: Migrate tags as labels and not annotations ( #34990 ) ( #34992 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
(cherry picked from commit a23674ef99 )
Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com >
2021-05-31 16:43:10 +02:00
Grot (@grafanabot)
4c967fe718
Alerting: Extract values from MD expr alerts ( #34757 ) ( #34908 )
...
When using mulit-dimensional Grafana managed alerts (e.g. SSE math) extract refIds values and labels so they can be shown in the notification and dashboards.
(cherry picked from commit b47e7d12e6 )
Co-authored-by: Kyle Brandt <kyle@grafana.com >
2021-05-28 11:34:59 -04:00
Grot (@grafanabot)
a0e0414720
Alerting: Fix flaky TestNotificationChannels take 2 ( #34880 ) ( #34885 )
...
* Alerting: Fix flaky TestNotificationChannels take 2
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
* Fix nits
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
* Fix lint
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
(cherry picked from commit 8278c7bf77 )
Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com >
2021-05-28 12:19:39 +02:00
Grot (@grafanabot)
d76104fedf
Fix flaky TestNotificationChannels ( #34831 ) ( #34866 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
(cherry picked from commit 89262ac64d )
Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com >
2021-05-28 07:56:57 +02:00
Grot (@grafanabot)
72b3478935
NGAlert: Update the default template to include more URLs ( #34715 ) ( #34750 )
...
* NGAlert: Update the default template to include more URLs
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
* Fix tests
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
(cherry picked from commit d69c21acb6 )
Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com >
2021-05-26 17:14:15 +02:00
Grot (@grafanabot)
81f2f68535
NGAlert: Add integration tests for remaining notification channels ( #34662 ) ( #34728 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
(cherry picked from commit b168223029 )
Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com >
2021-05-26 19:59:34 +05:30
Grot (@grafanabot)
52d6afbae7
[Alerting]: namespace fixes ( #34470 ) ( #34489 )
...
* [Alerting]: forbid viewers for updating rules if viewers can edit
check for CanSave instead of CanEdit
* Clear ngalert tables when deleting the folder
* Apply suggestions from code review
* Log failure to check save permission
Co-authored-by: gotjosh <josue@grafana.com >
(cherry picked from commit 23939eab10 )
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com >
2021-05-24 10:42:56 +03:00
gotjosh
7b04278834
Alerting: Opsgenie notification channel ( #34418 )
...
* Alerting: Opsgenie notification channel
This translate the opsgenie notification channel from the old alerting
system to the new alerting system with a few changes:
- The tag system has been replaced in favour of annotation.
- TBD
- TBD
Signed-off-by: Josue Abreu <josue@grafana.com >
* Fix template URL
* Bugfig: dont send resolved when autoClose is false
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
* Fix integration tests
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
* Fix URLs in all other channels
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
Co-authored-by: Ganesh Vernekar <ganeshvern@gmail.com >
2021-05-20 10:12:08 +02:00
Owen Diehl
d6c4c2fcd5
[Alerting] Ensure upstream validations are run ( #34333 )
...
* use embedded validations via noop yaml unmarshaler
* lint
* fixes integration tests now that groupings are handled
2021-05-19 06:22:44 -04:00
Sofia Papagiannaki
11243dec14
[Alerting]: Assign UUID to grafana receivers ( #34241 )
...
* [Alerting]: Assign UUID to grafana receivers
* Apply suggestions from code review
* Add test for updating invalid receiver
Co-authored-by: Domas <domasx2@gmail.com >
2021-05-18 17:31:00 +03:00
Ganesh Vernekar
89c2b5e863
NGAlert: Remove unwanted fields from notification channel config ( #34036 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
2021-05-18 10:04:47 +02:00
Sofia Papagiannaki
3e48fe9475
[Alerting]: Fix integration test ( #34204 )
2021-05-17 14:27:39 +02:00
gotjosh
eb74994b8b
Alerting: Modify configuration apply and save semantics - v2 ( #34143 )
...
* Save default configuration to the database and copy over secure settings
2021-05-14 19:49:54 +01:00
Ganesh Vernekar
ec3214bac2
NGAlert: Add integration tests for notification channels ( #33431 )
...
* NGAlert: Add integration tests for notification channels
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
* Fix the failing tests
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
* Fix review comments
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
* Override creation of rule UID, remove only namespace UID
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com >
2021-05-13 22:58:19 +05:30