Commit Graph

221 Commits

Author SHA1 Message Date
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
Fabian Reinartz
34527f510e Update vendoring, update .gitignore 2015-09-24 18:34:58 +02:00
Fabian Reinartz
f129a30515 Remove old makefiles 2015-09-24 16:52:47 +02:00
Fabian Reinartz
803c68306c Add vendoring with https://github.com/kardianos/govendor 2015-08-26 12:13:44 +02:00
Fabian Reinartz
84c7af9652 Remove docker files, update gitignore 2015-08-26 11:54:01 +02:00
Fabian Reinartz
81626411f9 Apply inhibition during notification filtering 2015-07-11 08:39:16 -06:00
Fabian Reinartz
301ae9ca1e Add inhibition rule coniguration 2015-07-10 19:25:56 +02:00
Fabian Reinartz
99269433f5 implement support for persistence via LevelDB 2015-07-10 18:27:17 +02:00
Fabian Reinartz
7a510669cb filter out silenced alerts and save notification state 2015-07-09 07:01:38 -06:00
Fabian Reinartz
1ffa8b78d3 calculate stale resolve time on initial insert 2015-07-07 10:00:50 +02:00
Fabian Reinartz
2533f63a2d add experimental alert state backed by CRDTs 2015-07-07 09:47:09 +02:00
Fabian Reinartz
73ecc0deff add crdt package with LWW set 2015-07-07 09:46:39 +02:00
Fabian Reinartz
6406631e81 delete resolved alerts during cleanup 2015-07-04 15:50:42 +02:00
Fabian Reinartz
dfdf8f452a make auto-resolving time-independent 2015-07-04 15:12:13 +02:00
Fabian Reinartz
6a82b58efe allow multiple alert subscribers, improve cleanup 2015-07-04 14:59:52 +02:00
Fabian Reinartz
d5ff099d05 cleanup dispatcher notifications, fix default route opts 2015-07-04 14:41:10 +02:00
Fabian Reinartz
b4755b0046 remove old AggrConfig 2015-07-04 14:40:32 +02:00
Fabian Reinartz
330bb05f9f store creation and resolve times in alert 2015-07-04 14:05:04 +02:00
Fabian Reinartz
3314ffe833 return GetAll alerts sorted by time 2015-07-04 13:02:49 +02:00
Fabian Reinartz
4aa5dcccf3 fix aggregation group handling and state 2015-07-04 12:52:53 +02:00
Fabian Reinartz
dba2b85318 add group interval to route options 2015-07-04 12:51:47 +02:00
Fabian Reinartz
41c9dcc383 improve dispatcher code and fix concurrency 2015-07-02 20:48:21 +02:00
Fabian Reinartz
2bb6233dd8 add initial dispatcher and config storage 2015-07-02 18:38:05 +02:00
Fabian Reinartz
238981366e add memory alert state and alert API endpoints 2015-07-01 18:36:37 +02:00
Fabian Reinartz
fa751b4b5e fix continue route bug, add tests 2015-07-01 18:24:08 +02:00
Fabian Reinartz
bbe679b432 initial alert routing tree 2015-07-01 17:56:53 +02:00
Fabian Reinartz
59b28fedda ignore YAML files 2015-07-01 17:56:38 +02:00
Fabian Reinartz
d4c90e9e28 Add silence API and memory storage 2015-07-01 13:17:08 +02:00
Fabian Reinartz
e730242749 initial commit with basic files and types 2015-06-30 14:29:30 +02:00
Fabian Reinartz
4c58dc90e6 wipe everything 2015-06-30 12:34:45 +02:00
Fabian Reinartz
6b487252a0 Merge pull request #86 from prometheus/fabxc/clnp
Use common/model and common/route
2015-06-30 12:12:11 +02:00
Fabian Reinartz
a266cb5afb switch to common/route wrapper 2015-06-30 12:10:13 +02:00
Fabian Reinartz
47967ba6e9 switch to common/model types 2015-06-30 08:43:38 +02:00
Fabian Reinartz
b8b6905447 Merge pull request #85 from prometheus/fabxc/ymlcfg
switch to YAML config
2015-06-29 18:55:15 +02:00
Fabian Reinartz
2e1a01b2fa switch to YAML config. 2015-06-29 18:53:47 +02:00
Fabian Reinartz
cb9c85ea5a config: add new YMAL config 2015-06-29 17:25:47 +02:00
Julius Volz
d91ac2ef11 Merge pull request #84 from prometheus/runbook-amurl
Add runbook and alertmanager URLs to PD+email notifications.
2015-06-25 18:53:28 +02:00
Julius Volz
35b3741756 Add runbook and alertmanager URLs to PD+email notifications.
I don't have a way to test all the other notification mechanisms, which
is something we should fix in general. For now, only PagerDuty and email
have the new runbook and alertmanager URL information.

Not very happy with the overall cleanliness of this, and the codebase
overall, of course, but since we need this urgently tomorrow, I hope
this is fine for now.
2015-06-25 18:18:08 +02:00
Julius Volz
8d455091fc Merge pull request #78 from wrouesnel/master
Add a GET api to /api/alerts which pulls JSON formatted AlertAggregates.
2015-06-16 15:52:04 +02:00