Fabian Reinartz
0a5a7691fe
Encapsulate context values in package.
...
Setting and getting of context values are done via helper
methods in the notifier package. The used keys are unexported. Thus,
we ensure that external code cannot overwrite the values and the type
is always correct.
2015-10-09 08:43:39 +02:00
Fabian Reinartz
638b3f9f40
Use a fixed now time through notify pipeline
2015-10-09 08:26:41 +02:00
Fabian Reinartz
d1379a3f71
Move repeat_interval and send_resolved to route configuration
2015-10-08 10:50:37 +02:00
Fabian Reinartz
be915a3752
Adjust test to new notify provider interface
2015-10-06 21:11:02 +02:00
Fabian Reinartz
77cce75c05
Simplify notify provider interface
2015-10-06 20:40:52 +02:00
Fabian Reinartz
0e742ecf33
Handle resolved new alerts properly
2015-10-02 15:58:37 +02:00
Fabian Reinartz
7fb9e63f89
Remove temporary Slack integration
2015-10-01 15:59:35 +02:00
Fabian Reinartz
0600d6b47b
Integrate new model types, separate internal and external types better
2015-10-01 15:46:10 +02:00
Fabian Reinartz
03272174f2
Pass aggregation group identifier through context
2015-10-01 15:18:19 +02:00
Fabian Reinartz
8ee78e0e53
Fix formatting
2015-10-01 14:55:55 +02:00
Fabian Reinartz
0b4d58fbdb
Switch to model.Alert
2015-10-01 14:53:49 +02:00
Fabian Reinartz
3e145caef9
Implement unifying of batches on repeated sends
2015-09-30 19:03:04 +02:00
Fabian Reinartz
f5cfe0b4e8
Add an exit point in case all alerts are filtered
2015-09-30 18:44:33 +02:00
Fabian Reinartz
a377004d90
Wrap all notifiers with logging
2015-09-30 14:54:13 +02:00
Fabian Reinartz
5ed89a72a5
Change to clearer alert time fields
2015-09-29 17:26:44 +02:00
Fabian Reinartz
c3b36790eb
Move notifiers into their own package
2015-09-29 15:36:36 +02:00
Fabian Reinartz
8799d647b3
Use proper build function to create new notifiers
2015-09-29 15:02:30 +02:00
Fabian Reinartz
b5cee8828a
Add webhook notifier mechanism
2015-09-29 14:45:38 +02:00