Commit Graph

350 Commits

Author SHA1 Message Date
Fabian Reinartz
f067c96525 Use full SQL persistence, init DB in main 2015-10-06 21:10:24 +02:00
Fabian Reinartz
cc5662f1e8 Integrate alert provider with notify persistence 2015-10-06 21:07:16 +02:00
Fabian Reinartz
e7d45c6a64 Make SQL calls more readable 2015-10-06 20:50:11 +02:00
Fabian Reinartz
77cce75c05 Simplify notify provider interface 2015-10-06 20:40:52 +02:00
Fabian Reinartz
5afb402a6c Add SQL notify info provider 2015-10-06 20:40:39 +02:00
Fabian Reinartz
f4ff8e12cb Initial version of SQL alert provider 2015-10-06 15:36:38 +02:00
Fabian Reinartz
ff29710178 Fix silence encoding/decoding in SQL provider 2015-10-06 13:56:02 +02:00
Fabian Reinartz
a653f90516 Setup persistence dir for acceptance tests 2015-10-06 12:41:20 +02:00
Fabian Reinartz
de18b1b70c Make data directory configurable 2015-10-06 12:36:33 +02:00
Fabian Reinartz
826a51cafb Complete and use the SQL backed silence provider 2015-10-06 12:23:48 +02:00
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