Closed dyoung522 closed 3 years ago
A very nice PR! thank you. I love that you cleaned up stuff as you went.
I think the only big missing thing here is documentation in the README, can you add that?
Thanks! failure looks unrelated, change looks good to me! thanks heaps.
Adds support for basic authentication in the prometheus_exporter CLI application.
htpasswd
filename via the--auth
command line argument, the server will use this file to authenticate any requests to the/metrics
endpoint.--realm
argument. The default REALM is "Prometheus Exporter"Note: the htpasswd file must be created beforehand and, due to limitations in WEBrick, only crypt is supported.