prometheus: use basic auth secrets
This commit is contained in:
@@ -26,4 +26,7 @@ scrape_configs:
|
||||
# scheme defaults to 'http'.
|
||||
|
||||
static_configs:
|
||||
- targets: ["localhost:9090"]
|
||||
- targets: ["localhost:9090"]
|
||||
basic_auth:
|
||||
username: prometheus
|
||||
password_file: /etc/prometheus/.basicauthpass
|
||||
Reference in New Issue
Block a user