Commit Graph

340 Commits

Author SHA1 Message Date
Fabian Reinartz
e15c19ad0d Properly include creation timestamp 2015-10-06 12:10:42 +02:00
Fabian Reinartz
0d8dae72f1 Assign silence creation time on insert 2015-10-06 12:10:15 +02:00
Fabian Reinartz
fb093ca0f5 Update common/model vendoring 2015-10-06 11:45:47 +02:00
Fabian Reinartz
8d28d1dee5 Initial SQL provider for silences 2015-10-06 11:41:34 +02:00
Fabian Reinartz
546c225cc8 Run full make in CI 2015-10-05 18:43:38 +02:00
Fabian Reinartz
f14ada020a Fix alert batch comparison, improve debug output 2015-10-05 16:51:34 +02:00
Fabian Reinartz
ecf6a7b48f Consider alerts without notify data pending 2015-10-05 16:51:17 +02:00
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