Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd support for Authorize headers to requests to AlertManager #1537
Comments
This comment has been minimized.
This comment has been minimized.
|
I don't think we'll be adding this until we've got the HA alertmanager, as this depends on moving from a flag to the config file and there's so many other options that we can't do it piecemeal. |
brian-brazil
added
the
feature-request
label
Apr 8, 2016
This comment has been minimized.
This comment has been minimized.
|
@mwitkow Putting basic auth into the URL seems to work for me. When I set |
This comment has been minimized.
This comment has been minimized.
|
@mwitkow You are not seeing the correct header in your example because Go populates the |
This comment has been minimized.
This comment has been minimized.
|
Great! Thanks. Not need it anymore then :) |
mwitkow
closed this
Apr 8, 2016
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
mwitkow commentedApr 8, 2016
We're considering moving our AlertManagers completely out of our VPN networks, and putting it behind a reverse proxy somewhere.
We thought about just adding
Basicheaders into the URL, but it seems that Go doesn't automatically populate headers from URL params:Can we add a flag to Prometheus for the contents of the Authorize header to AlertManager requests? If not, we can always build a small local reverse proxy for these :)