Commit Graph

333 Commits

Author SHA1 Message Date
Fabian Reinartz b0ca8f7c1c Consider unresolved alerts always pending 2015-10-05 16:09:55 +02:00
Fabian Reinartz 5222e340b8 Move inhibition test into own file 2015-10-05 16:08:00 +02:00
Julius Volz 05f9972bb5 Remove some debug statements. 2015-10-05 16:03:57 +02:00
Julius Volz 247cf8e3cd Add first inhibition acceptance test. 2015-10-05 16:03:57 +02:00
Julius Volz 0c96c80cd6 Fix spelling of exepected->expected. 2015-10-05 16:03:56 +02:00
Julius Volz 0f4d2095d1 Fix map initialization in Inhibitor. 2015-10-05 13:20:42 +02:00
Fabian Reinartz 7271ea0907 Fix listener broadcasting implementation 2015-10-04 22:58:33 +02:00
Fabian Reinartz 856d5091c1 Implement merging of alerts on insert 2015-10-02 16:52:04 +02:00
Fabian Reinartz 0e742ecf33 Handle resolved new alerts properly 2015-10-02 15:58:37 +02:00
Fabian Reinartz aab576c7c0 Add method to update Alertmanager configuration file 2015-10-02 14:14:30 +02:00
Fabian Reinartz 5ba2d4abc1 Assign webhook addresses automatically, per AM configs 2015-10-02 14:10:04 +02:00
Fabian Reinartz 1ff41b3864 Use alertmanager client package for alert pushing 2015-10-02 12:45:52 +02:00
Fabian Reinartz e0a003337e Fix .gitignore and include alertmanager API package 2015-10-02 12:41:41 +02:00
Fabian Reinartz 83a0d68fc8 Add acceptance test documentation 2015-10-02 12:32:19 +02:00
Fabian Reinartz f29a380ec4 Export Alertmanager process control functionality 2015-10-02 12:28:27 +02:00
Fabian Reinartz 5c4ec44962 Centralize test actions in AcceptanceTest 2015-10-02 12:18:02 +02:00
Fabian Reinartz b0989ca9f3 Let test silence timeout by itself 2015-10-01 22:22:51 +02:00
Fabian Reinartz 4e381c7e64 Store model.Silence and restore types.Silence correctly 2015-10-01 22:16:44 +02:00
Fabian Reinartz 152f811227 Fix acceptance test 2015-10-01 22:15:27 +02:00
Fabian Reinartz 7b0820a205 Add silencing test 2015-10-01 21:28:18 +02:00
Fabian Reinartz 38b324eab2 Implement silencing for acceptance tests, use api package 2015-10-01 20:58:46 +02:00
Fabian Reinartz fdf4d80003 Implement silence provider check for bad insert 2015-10-01 20:58:14 +02:00
Fabian Reinartz 7fb9473681 Let create/modify silence endpoints returns silence ID 2015-10-01 20:57:37 +02:00
Fabian Reinartz c3b8b85363 Include JSON unmarshaling fix 2015-10-01 18:07:44 +02:00
Fabian Reinartz 46e09e2b2c Switch to model.Silence 2015-10-01 17:50:15 +02:00
Fabian Reinartz a31b79cb91 Include common/model with silence type 2015-10-01 17:44:47 +02:00
Fabian Reinartz 7fb9e63f89 Remove temporary Slack integration 2015-10-01 15:59:35 +02:00
Fabian Reinartz ba4f5684bb Remove all internal types from acceptance test framework 2015-10-01 15:46:39 +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 24e3ff856d Standardize color handling 2015-10-01 15:25:12 +02:00
Fabian Reinartz 70f1be20da Update vendoring for alert type 2015-10-01 15:22:27 +02:00
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