Tobias Schmidt
0f166e81ae
Merge pull request #301 from mpchadwick/listening-port
...
Provide feedback in console about port
2016-04-12 02:13:23 -04:00
Max Chadwick
3e6180cb74
Provide feedback in console about port
2016-04-11 21:10:06 -04:00
Julius Volz
20739cc6ad
Re-add full -web.external-url functionality
...
Fixes https://github.com/prometheus/alertmanager/issues/212
2016-03-30 23:04:19 +02:00
Fabian Reinartz
a0e4df20ef
Add reload config instrumentation
2016-03-03 14:20:21 +01:00
Johannes 'fish' Ziemke
dedff6a027
Check return code of ListenAndServe()
2016-01-28 13:44:40 +01:00
Fabian Reinartz
a50171cf39
Remove old providers and dependencies
2015-12-08 12:16:48 +01:00
Fabian Reinartz
cadae2a9e5
Implement SQLite persistence provider
2015-12-08 11:55:28 +01:00
Fabian Reinartz
4ada2398f2
Set previous inhibition/silence state
2015-12-04 10:58:56 +01:00
Fabian Reinartz
00b8a2ad03
Make resolve timeout configurable
2015-11-27 15:41:22 +01:00
Fabian Reinartz
9fbc76a52f
Improve PagerDuty templating
2015-11-27 14:02:34 +01:00
beorn7
93ffa534a5
PR with changes after code review
...
Now to be reverse-reveiewed.
2015-11-23 18:24:57 +01:00
Brian Brazil
4b6e0f4134
Ensure data directory exists
2015-11-18 14:58:36 +00:00
Fabian Reinartz
d80fd26902
Add Dockerfile and target, change flag
2015-11-12 15:03:09 +01:00
Fabian Reinartz
c157b78a04
Do not expose groups with 0 alerts
2015-11-11 17:05:22 +01:00
Fabian Reinartz
75c57ffd00
Add version print and flag
2015-11-11 16:50:54 +01:00
Fabian Reinartz
ede4b63a91
Implement deterministic alert group order, cleanup
2015-11-10 14:52:04 +01:00
Fabian Reinartz
dc656a44ea
Adjust config fields to 'receiver'
2015-11-10 14:08:20 +01:00
Fabian Reinartz
d4e2bdc36f
Track and expose silenced/inhibited status of alerts
2015-11-09 14:34:57 +01:00
Fabian Reinartz
152df94088
Simplify alert UI
2015-11-09 11:09:32 +01:00
Fabian Reinartz
8f2aaff1db
Implement flat alert group API endpoint
2015-11-07 14:30:21 +01:00
Fabian Reinartz
85475d4e50
Add /api/status endpoint for config and version info
2015-11-02 19:41:23 +01:00
Fabian Reinartz
524d08d567
Implement endpoint for UI routing tree representation
2015-10-21 16:34:56 +02:00
Fabian Reinartz
cb0ecd9416
Alter config to have a root route
2015-10-19 16:52:54 +02:00
Fabian Reinartz
ef0ee97781
Implement global routing options
2015-10-19 16:17:15 +02:00
Fabian Reinartz
22e1e9ca72
Output error on config load failure
2015-10-17 10:02:52 +02:00
Fabian Reinartz
a64ae57731
Add legacy alert push endpoint
2015-10-16 14:02:22 +02:00
Fabian Reinartz
ee6ca25db0
Add initial web UI routing
2015-10-12 07:10:25 +02:00
Fabian Reinartz
98fe623d60
Rename NewAPI to RegisterAPI
2015-10-11 17:28:09 +02:00
Fabian Reinartz
ce74f8363b
Simplify initialization
...
No longer update components based on a new configuration. Generally,
destroying and recreating has no performance impact and is less
error-prone.
This also removes the Reloadable interface and simplifies the entire
startup contraption.
2015-10-11 16:54:39 +02:00
Fabian Reinartz
3a2db95a8e
Create and use custom template package
2015-10-11 13:32:24 +02:00
Fabian Reinartz
6e47e75ac5
Enhance email notifier templating
2015-10-11 12:34:05 +02:00
Fabian Reinartz
c84a287be6
Notify pipeline restructuring
...
Notifcation configs may have multiple notification destinations.
This commit changes the pipeline so that each one has its own
retry and deduplication logic.
2015-10-10 15:11:37 +02:00
Fabian Reinartz
f62dc65ff4
Implement initial email notifications
2015-10-09 12:03:15 +02:00
Fabian Reinartz
7ef293d9bc
Make loadable templates configurable
2015-10-09 11:06:04 +02:00
Fabian Reinartz
9cd90d3482
Implement retrying notifier
...
Retrying notifier is added to the end of the pipeline where it retries
sending out the final notifications until the context times out.
Exponential backoff is used.
2015-10-09 09:37:32 +02:00
Fabian Reinartz
9bf18ec4a5
Always assume success on reload of valid config
2015-10-09 09:05:21 +02:00
Fabian Reinartz
c60ae1f752
Change notifier pipeline order.
...
With repeat_interval and send_resolved being defined per
aggregation group, we no longer need to chain the deduping
after the routing.
2015-10-08 11:02:49 +02:00
Fabian Reinartz
d1379a3f71
Move repeat_interval and send_resolved to route configuration
2015-10-08 10:50:37 +02:00
Fabian Reinartz
f067c96525
Use full SQL persistence, init DB in main
2015-10-06 21:10:24 +02:00
Fabian Reinartz
ff29710178
Fix silence encoding/decoding in SQL provider
2015-10-06 13:56:02 +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
7b0820a205
Add silencing test
2015-10-01 21:28:18 +02:00
Fabian Reinartz
957d108e67
Add flag to change listen address
2015-09-30 17:24:06 +02:00
Fabian Reinartz
a377004d90
Wrap all notifiers with logging
2015-09-30 14:54:13 +02:00
Fabian Reinartz
c3b36790eb
Move notifiers into their own package
2015-09-29 15:36:36 +02:00
Fabian Reinartz
8799d647b3
Use proper build function to create new notifiers
2015-09-29 15:02:30 +02:00
Fabian Reinartz
331ad31401
Implement configuration reloading
2015-09-29 12:22:13 +02:00
Fabian Reinartz
7224f33c5b
Add debug logging for incoming alerts
2015-09-29 12:00:30 +02:00
Fabian Reinartz
2b410cb749
Parse flags
2015-09-29 11:50:59 +02:00