6 Commits
Author SHA1 Message Date
Łukasz Mierzwa 0fd2ec2043 Set Basic Auth on proxied requests if user:pass is set in the Alertmanager URI 2018-04-19 09:17:19 -07:00
Sven MüllerandŁukasz Mierzwa 24933bc93a Remove Host header attribute from proxied request (#252)
Explicitly set hostame for proxied requests
2018-04-19 09:17:18 -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