Julius Volz
b4648a9e33
Migrate logging to use `prometheus/log`.
2015-05-23 23:21:44 +02:00
Julius Volz
d0ae5a3f1d
Improve web redirection and 404 behavior.
...
Previously we redirected any non-existent path to the root (or path
prefix).
The new behavior:
With no path prefix:
- "" -> "/"
- "/biz" -> 404
With path prefix of "/foo/bar":
- "" -> "/foo/bar/"
- "/" -> "/foo/bar/"
- "/foo/bar" -> "/foo/bar/"
- "/biz" -> /foo/bar/biz"
(anything not starting with the path prefix gets the prefix prepended)
- "/foo/bar/biz" -> 404
This fixes https://github.com/prometheus/alertmanager/issues/66
2015-05-23 12:45:38 +02:00
Ceesjan Luiten
180f7dcf31
Path prefix to support reverse proxies
2015-04-29 22:10:21 +02:00
Julius Volz
3380692f71
Only serve alerts page from /alerts or /.
...
This fixes https://github.com/prometheus/prometheus/issues/607
2015-03-23 19:39:31 +01:00
Julius Volz
0db99c2c5e
Make flag names consistent across projects.
2015-02-09 12:22:44 +01:00
Julius Volz
20b146657b
Update HTTP/clientlib dependencies + cleanups.
...
Change-Id: I175ac4874b25358dd569866e3d575ba49e4357f2
2014-10-27 23:50:22 +01:00
Julius Volz
be0e958d8f
Major rewrite of alertmanager, adding inhibit support.
...
Change-Id: If11f3aec70ba2ac816b9b824a387ffdd2e51790f
2013-09-11 15:34:02 +02:00
Julius Volz
dcfe55d7e6
Rename alert_manager to alertmanager.
2013-08-05 11:49:56 +02:00
Julius Volz
669f5ef916
Fix /metrics endpoint name (was /metrics.json).
2013-07-29 18:44:06 +02:00
Julius Volz
827d3c3710
Show actual alerts in UI and add no-op silence dialog.
2013-07-22 11:12:25 +02:00
Julius Volz
cf78397107
Change model to be more state- and less event-focussed.
2013-07-19 10:52:04 +02:00
Julius Volz
44c69920f4
Preliminary web interface and pairing refactorings.
2013-07-17 17:45:01 +02:00