Commit Graph

259 Commits

Author SHA1 Message Date
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
Fabian Reinartz d332d8b648 Add JSON (un)marshalling for silences 2015-09-27 14:28:47 +02:00
Fabian Reinartz 95b12f8c30 Add silence API endpoints 2015-09-27 14:07:04 +02:00
Fabian Reinartz dfd98a2e14 Move inhibition into its own file 2015-09-27 13:21:15 +02:00
Fabian Reinartz 0597c1757b Implement in-memory silences provider 2015-09-27 13:18:13 +02:00
Fabian Reinartz e10ae037d0 Extract notifiers from dispatcher to routed notifier 2015-09-27 13:09:02 +02:00
Fabian Reinartz 5d0f3ffa0e Generalize iterator interface, locking fixes 2015-09-27 12:28:03 +02:00
Fabian Reinartz 4d2ab84503 Implement initial inhibitor 2015-09-27 12:27:32 +02:00
Fabian Reinartz 828861cd35 Make travis use go 1.5 2015-09-27 12:01:51 +02:00
Fabian Reinartz 5cd4ee1a64 Add InhibitRule constructor function 2015-09-26 18:13:53 +02:00
Fabian Reinartz afe7194f6c Fix notifyFunc specification 2015-09-26 18:12:56 +02:00
Fabian Reinartz 797bfa1468 Fix group and repeat interval differentiation 2015-09-26 18:03:54 +02:00
Fabian Reinartz c05c028975 Fix deletion of old alerts in aggregation groups 2015-09-26 17:54:49 +02:00
Fabian Reinartz 79eac01917 Change notify interface to multiple alerts 2015-09-26 14:12:55 +02:00
Fabian Reinartz 3b7f880f60 Enable alert API endpoints 2015-09-26 11:14:18 +02:00
Fabian Reinartz 4b58d30f4d Add safer AlertIterator interface 2015-09-26 11:14:18 +02:00
Fabian Reinartz 89e8d82a1b Fix compile issues 2015-09-26 11:14:18 +02:00
Fabian Reinartz 80970a2c44 Add version file 2015-09-26 11:14:18 +02:00
Fabian Reinartz ebb7740fb9 Move config into own package and refactor 2015-09-26 11:14:18 +02:00
Fabian Reinartz d8774bbe1e Remove old state file 2015-09-25 14:45:11 +02:00
Fabian Reinartz 97c3f1f58e Add Makefile and build script 2015-09-25 14:42:14 +02:00
Fabian Reinartz 1f9886e5ca Migrate to types package 2015-09-25 14:38:57 +02:00
Fabian Reinartz c3b5b6288e Add shared types package 2015-09-25 14:38:22 +02:00
Fabian Reinartz e861482761 Add in-memory alert provider 2015-09-25 14:38:07 +02:00
Fabian Reinartz 49f51002d4 Remove old crdt experimental package 2015-09-25 14:37:44 +02:00
Fabian Reinartz 17dce696c9 Move manager package to top level 2015-09-25 13:46:49 +02:00
Fabian Reinartz 6e1193c9a2 Dispatcher config reloading and restarting 2015-09-25 13:44:00 +02:00
Fabian Reinartz 0ffdd6fa2f Move providers into their own package 2015-09-25 13:18:28 +02:00
Fabian Reinartz 575b2257b1 Separate concerns from dispatcher and aggregation groups 2015-09-25 00:15:27 +02:00
Fabian Reinartz 4de9878f37 Change notifier interface, add silencing notifier 2015-09-25 00:14:41 +02:00
Fabian Reinartz 3cc6044989 Add initial provider interface definitions 2015-09-25 00:09:31 +02:00
Fabian Reinartz f4b5a7afb4 Rename GroupInterval to RepeatInterval 2015-09-25 00:08:53 +02:00