Commit Graph

452 Commits

Author SHA1 Message Date
Fabian Reinartz
03272174f2 Pass aggregation group identifier through context 2015-10-01 15:18:19 +02:00
Fabian Reinartz
d2a0a218aa Remove obsolete fingerprint method 2015-10-01 15:17:37 +02:00
Fabian Reinartz
794b7c4a1a Fix configuration docs 2015-10-01 15:17:13 +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
ad1408e8b9 Fix test documentation 2015-10-01 09:43:51 +02:00
Fabian Reinartz
6174b41b0c Adjust test for new batching behavior 2015-09-30 19:03:19 +02:00
Fabian Reinartz
3e145caef9 Implement unifying of batches on repeated sends 2015-09-30 19:03:04 +02:00
Fabian Reinartz
1fcc5d6717 Add proper checks whether full batches were received 2015-09-30 18:45:49 +02:00
Fabian Reinartz
d40bb99cee Add proper sorting comparison for alerts 2015-09-30 18:44:53 +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
6a0b4cc8b2 Add acceptance test example for batching 2015-09-30 18:02:47 +02:00
Fabian Reinartz
297bbf5a0a Generalize AM actions, batch pushed alerts as defined 2015-09-30 17:45:37 +02:00
Fabian Reinartz
25ee299cb9 Make example test more constrained 2015-09-30 17:35:33 +02:00
Fabian Reinartz
0539783eea Start alertmanager with a random free address in tests 2015-09-30 17:33:49 +02:00
Fabian Reinartz
957d108e67 Add flag to change listen address 2015-09-30 17:24:06 +02:00
Fabian Reinartz
bb057872a7 Update vendoring 2015-09-30 17:00:25 +02:00
Fabian Reinartz
429005fb4e Add version information 2015-09-30 16:57:08 +02:00
Fabian Reinartz
f20f5dce42 Document example acceptance test scenario 2015-09-30 16:18:44 +02:00
Fabian Reinartz
4401bb1b82 Split acceptance testing into multiple files 2015-09-30 16:13:00 +02:00
Fabian Reinartz
b45dd027bc Remove time factor from e2e test options 2015-09-30 15:35:52 +02:00
Fabian Reinartz
0d39c0e1af Improve e2e testing output 2015-09-30 15:02:07 +02:00
Fabian Reinartz
ab2a3b1c6a More elaborate example e2e test case 2015-09-30 14:55:19 +02:00
Fabian Reinartz
251f3ec57c Improve checks in e2e tests, various fixes 2015-09-30 14:54:54 +02:00
Fabian Reinartz
a377004d90 Wrap all notifiers with logging 2015-09-30 14:54:13 +02:00
Fabian Reinartz
2b6d40c926 Add flush logging to aggregation groups 2015-09-30 14:53:52 +02:00
Fabian Reinartz
006939de12 Hide resolved it alert JSON if it was added via timeout 2015-09-30 14:53:05 +02:00
Fabian Reinartz
d4ec632d06 Improve e2e test framework 2015-09-29 22:40:44 +02:00
Fabian Reinartz
329ec605cf Initial e2e test setup 2015-09-29 20:45:38 +02:00
Fabian Reinartz
a540d672a3 Fix notificatio config fields 2015-09-29 20:45:23 +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
304be15fdb Implement fan-out notifier 2015-09-29 15:01:27 +02:00
Fabian Reinartz
b5cee8828a Add webhook notifier mechanism 2015-09-29 14:45:38 +02:00
Fabian Reinartz
064af8d11f Add alert status type and constants 2015-09-29 14:45:16 +02:00
Fabian Reinartz
331ad31401 Implement configuration reloading 2015-09-29 12:22:13 +02:00
Fabian Reinartz
7224f33c5b Add debug logging for incoming alerts 2015-09-29 12:00:30 +02:00
Fabian Reinartz
eeeeeea3d8 Fix premature channel close on clean startup 2015-09-29 11:57:58 +02:00
Fabian Reinartz
2b410cb749 Parse flags 2015-09-29 11:50:59 +02:00
Fabian Reinartz
3d9e7286de Implement graceful shutdown 2015-09-29 11:42:29 +02:00
Fabian Reinartz
3b401c413b Add pending alert iterator 2015-09-29 10:45:58 +02:00
Fabian Reinartz
54a8d6ea04 Adjust alert subscription behavior.
Rename IterActive to Subscribe. The returned iterator now
returns all alerts with pending notifications which may also include
resolved alerts.
2015-09-29 10:00:02 +02:00
Fabian Reinartz
0fdaf263c1 Simplify inhibition mute check 2015-09-28 22:08:47 +02:00
Fabian Reinartz
365b641223 Verify stored notifies in deduping test 2015-09-28 22:02:41 +02:00
Fabian Reinartz
ff2ba6277d Add test for deduping notifier 2015-09-28 21:47:12 +02:00
Fabian Reinartz
98b2730e10 Add test for routed notifier 2015-09-28 18:28:13 +02:00
Fabian Reinartz
8a7b2a50e1 Add mutedNotifier test 2015-09-28 14:13:18 +02:00
Fabian Reinartz
c40c31772f Rename Silencer to Muter 2015-09-28 14:13:01 +02:00
Fabian Reinartz
67f5e89816 Switch to common/log package 2015-09-28 12:12:27 +02:00