Metrics Basic Authentication
- Environmental Variable:
METRICS_BASIC_AUTH - Config File Key:
metrics_basic_auth - Type: base64 encoded
stringofusername:password - Example:
eDp5(for username: x, and password: y) - Optional
Require Basic HTTP Authentication to access the metrics endpoint.
To support this in Prometheus, consult the basic_auth option in the scrape_config
documentation.