Updated prometheus.yml to support basic_auth
This commit is contained in:
parent
7914011e53
commit
562464ecf7
|
@ -21,9 +21,9 @@ scrape_configs:
|
|||
# scheme defaults to 'http' enable https in case your application is server via https
|
||||
#scheme: https
|
||||
# basic auth is not needed by default. See https://www.jhipster.tech/monitoring/#configuring-metrics-forwarding for details
|
||||
#basic_auth:
|
||||
# username: prometheus
|
||||
# password:
|
||||
basic_auth:
|
||||
username: prometheus
|
||||
password:
|
||||
metrics_path: /management/prometheus
|
||||
static_configs:
|
||||
- targets:
|
||||
|
|
Loading…
Reference in New Issue