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