10 Commits

Author SHA1 Message Date
Łukasz Mierzwa
380022f01f chore(style): reformat proxy.go 2018-10-24 21:52:59 +01:00
Sylvain Rabot
f585312ba4 fix(api): proxy when upstream url has a path
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
2018-10-24 21:52:49 +01:00
Łukasz Mierzwa
9c16ffa447 chore(project): rename from unsee to karma
Fixes prymitive/unsee#23
2018-09-09 14:12:26 +01:00
Łukasz Mierzwa
b71883f1ef Migrate to new repo
Forked unsee from cloudflare, so import paths needs to be updated
2018-06-07 15:30:57 +02:00
Łukasz Mierzwa
8a65496787 Set Basic Auth on proxied requests if user:pass is set in the Alertmanager URI 2018-04-17 22:06:58 -07:00
Sven Müller
fbd325e10c Remove Host header attribute from proxied request (#252)
Explicitly set hostame for proxied requests
2018-04-17 09:14:55 -07:00
Łukasz Mierzwa
49d1ed2e1e Pass HTTP transport to the proxy
When we proxy requests we should use same transport as we use when collecting alerts & silences
2018-01-23 21:37:56 -08:00
Łukasz Mierzwa
6aec8bf5d1 Cleanup path setup a bit 2018-01-06 17:35:02 -08:00
Łukasz Mierzwa
db0d86f339 Don't modify path in the proxy, strip prefix in the handler 2018-01-06 17:28:03 -08:00
Łukasz Mierzwa
b6dd993c2b Add support for proxying user connection to Alertmanager
Fixes #190.

With this feature unsee can be configured to proxy requests to selected Alertmanager instances, if it's enabled unsee silence form will send a request via unsee rather than directly. This allows users to manage silences in environments where they have access to unsee but not to Alertmanager. Only silences endpoints on Alertmanager API are proxied.
2018-01-03 16:17:58 -08:00