Kristin Laemmert
40feee0d17
chore: move alert-related models ( #61716 )
...
* chore: move alert notification models into the alerting service (alerting/models)
2023-01-23 08:19:25 -05:00
Arve Knudsen
a5d9196a53
Chore/fix lint issues ( #27704 )
...
* Chore: Fix linting issues
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-22 16:22:19 +02:00
Sofia Papagiannaki
d135f1229d
Alerting: new min_interval_seconds options to enforce a minimum eval frequency ( #21188 )
...
* add min_interval_seconds setting to alerting config
It will let operator enforce a minimum time for the scheduler to enqueue evaluations
* Introduce UI modifications
* Update docs
Co-authored-by: Martin <uepoch@users.noreply.github.com>
2020-01-14 11:13:34 +02:00
Kyle Brandt
364d2358d8
alerting: add lock on job to prevent a race condition ( #18218 )
...
without this lock there is a race condition between the scheduler and job processing.
2019-09-03 09:14:28 -04:00
Carl Bergquist
d8736a2547
Alerting: golint fixes for alerting ( #17246 )
2019-06-03 10:25:58 +02:00
Carl Bergquist
bd5bcea5d0
alerting: fix a bunch of lint issues. ( #17128 )
2019-05-20 12:13:32 +02:00
zhulongcheng
2fff8f77dc
move log package to /infra ( #17023 )
...
ref #14679
Signed-off-by: zhulongcheng <zhulongcheng.me@gmail.com>
2019-05-13 08:45:54 +02:00
Karsten Weiss
4d87cb03c5
Simplify make() (gosimple)
...
This fixes:
pkg/api/http_server.go:142:89: should use make(map[string]func(*http.Server, *tls.Conn, http.Handler)) instead (S1019)
pkg/services/alerting/scheduler.go:18:30: should use make(map[int64]*Job) instead (S1019)
pkg/services/alerting/scheduler.go:26:31: should use make(map[int64]*Job) instead (S1019)
2018-04-16 21:04:57 +02:00
Mario Trangoni
91fb2e07ce
pkg: fix codespell issues
2018-04-13 20:31:29 +02:00
bergquist
3ea66ebe3f
fix(alerting): remove possible divide by zero panic
...
ref #6599
2016-11-17 15:20:14 +01:00
bergquist
19427b59f9
feat(alerting): do not enqueue paused rules
2016-10-10 13:29:10 +02:00
bergquist
77783c02cd
fix(alerting): dont log null series
...
closes #6025
2016-09-16 14:59:54 +02:00
Torkel Ödegaard
4c5461d4ba
feat(alerting): alerting scheduling distribution, only distibutes it on seconds for now, not sub second distribution, #5854
2016-09-05 14:26:08 +02:00
Torkel Ödegaard
357358898d
feat(annotations): working on alert annotations, #5694
2016-08-01 10:07:00 +02:00
Torkel Ödegaard
717cce014b
feat(alerting): refactoring
2016-07-27 17:07:44 +02:00
Torkel Ödegaard
ae5f8a76d9
feat(alerting): lots of progress on notifications, refactored them out to their own package, restored webhook notitication and added slack notification
2016-07-27 12:09:55 +02:00
Torkel Ödegaard
71c1c0ab65
feat(alerting): trying to get things to work with new model
2016-06-11 13:49:11 +02:00
bergquist
0c69c5afb1
test(alerting): fixes broken unittests
2016-06-10 11:37:03 +02:00
bergquist
ef35184a80
feat(alerting): rename alertrule model to alertruleDAO
2016-06-10 10:00:00 +02:00
Torkel Ödegaard
34e17f7282
feat(alerting): requests looks to be working again
2016-06-06 17:11:46 +02:00
Torkel Ödegaard
d1acfb4494
feat(alerting): minor progress
2016-06-06 14:24:14 +02:00
Torkel Ödegaard
7a34c129fe
feat(alerting): things are compiling and tests pass
2016-06-06 13:50:47 +02:00
Torkel Ödegaard
0cbf4ae773
feat(alerting): began work on splitting scheduler into scheduler and engine
2016-06-06 11:56:58 +02:00
Torkel Ödegaard
a191b9b1cf
feat(alerting): moved alerting models back to alerting package, models is more for storage dtos
2016-06-06 10:31:21 +02:00