--server-prometheus-auth
- CLI
- --server-prometheus-auth
- REST
- CLI only
Requires HTTP Basic credentials, given as username:password, on /metrics, in place of the main server’s credentials. Without it, /metrics takes the main server’s credentials, and is open when the server has none.
Example
CLI
Run locally
zshot --server --server-enable-prometheus --server-prometheus-auth prometheus:s3cr3t