Yuriy Tseretyan
ea478dec22
Alerting: Remove bridge between log15 and go-kit logger ( #43769 )
...
* remove bridge between log15 and go-kit logger.
* fix tests
2022-01-07 09:40:09 +01:00
Yuriy Tseretyan
1a762083d7
Alerting: make alert rule routine evaluation control be thread-safe ( #41220 )
...
* change registry.delete to return deleted struct
* use pointer to alertRuleInfo instead copying.
* do not access evaluation channel when routine is stopped
* remove stopCh and use context cancellation
* do not return ctx.Err when channel is cancelled because it cancels all other routines
* make alertRuleInfo fields and functions package private
2021-12-16 14:52:47 -05:00
Yuriy Tseretyan
35b0067650
Populate missing UID of provisioned data source only for new records ( #42999 )
...
* defer updating empty UID to insert command
* change logging to use the command
2021-12-13 14:14:39 -05:00
Yuriy Tseretyan
b63595b47f
Alerting: fix sqlstore.GetFolderByTitle to search for folder ( #42898 )
...
* a test to reproduce the bug
2021-12-13 13:59:20 -05:00
Yuriy Tseretyan
1db9b1e6a9
Improve bridge for Alertmanager logger ( #42958 )
...
* Implement go-kit/log.Logger for internal logger.
2021-12-13 09:41:53 -05:00
Yuriy Tseretyan
cdfb2d02d5
add maildev to docker blocks ( #42661 )
2021-12-02 19:45:56 -05:00
Yuriy Tseretyan and gotjosh
9139f61105
Alerting: Update alert rule migration to use expanded queries ( #42493 )
...
* move targetData to target
* use constants instead of literals.
* Update comments and add tests
Co-authored-by: gotjosh <josue.abreu@gmail.com >
2021-12-01 11:45:27 +00:00
Yuriy Tseretyan
005c8f8894
Alerting: Disable unified alerting by default in Enterprise Grafana ( #42476 )
...
* fallback to enable false if Enterprise is true
* anyBoolean
2021-11-29 20:51:15 +01:00
Yuriy Tseretyan
36e12e2b26
Remove flakiness of google chat tests ( #40592 )
2021-10-19 16:18:44 -04:00
Yuriy Tseretyan
4dadb8fc51
Alerting: Remove extra field orgId from notifier.Alertmanager ( #39870 )
2021-10-01 09:54:37 -04:00
Yuriy Tseretyan
526961f298
Alerting: rule evaluation loop to not access multiorg Alertmanager if no alerts to add ( #39872 )
2021-09-30 15:07:56 -04:00
Yuriy Tseretyan
e1aae0549e
Provide reader to alertmanager silence instead of file path ( #39305 )
2021-09-17 14:12:27 -04:00
Yuriy Tseretyan and achatterjee-grafana
5b7dc16c06
Alerting: Clarify group by label in documentation of notification policies ( #39105 )
...
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
2021-09-13 09:03:06 -04:00
Yuriy Tseretyan
6c2884ac37
Alerting: Fix notifier tests to close the temp file ( #38992 )
2021-09-09 09:56:42 -04:00