Metrics Basic Authentication
- Environmental Variable:
METRICS_BASIC_AUTH
- Config File Key:
metrics_basic_auth
- Kubernetes: not supported
- Type: base64 encoded
string
ofusername: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.