Commit Graph

290 Commits

Author SHA1 Message Date
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
Fabian Reinartz f50c22cdbf Clear README 2015-09-27 21:58:25 +02:00
Fabian Reinartz 3a5da1a345 Fix nil notify provider result 2015-09-27 21:51:54 +02:00
Fabian Reinartz 2bc66b14ee Simplify deduping wrapping 2015-09-27 21:41:30 +02:00
Fabian Reinartz 0b9deee486 Fix uninstantiated notifier opts 2015-09-27 20:21:29 +02:00
Fabian Reinartz dbd015ef29 Implement usage of deduping notifier 2015-09-27 20:17:09 +02:00
Fabian Reinartz 78a7ec62d9 Implement in-memory notifies provider 2015-09-27 20:16:42 +02:00
Fabian Reinartz 40b0505afa Update notifies after successful sending 2015-09-27 19:54:40 +02:00
Fabian Reinartz 95b57b3622 Add deduping notifier 2015-09-27 19:50:41 +02:00
Fabian Reinartz 49da433478 Add notify and shared data source for providers 2015-09-27 19:50:24 +02:00
Fabian Reinartz 331911edee Make inhibitor consider equality labels 2015-09-27 14:41:18 +02:00
Fabian Reinartz 8c15e18571 Extract notifier construction from routedNotifier 2015-09-27 14:37:34 +02:00
Fabian Reinartz fac2ea95bc Rename alert payload to annotations, add validation 2015-09-27 14:37:05 +02:00