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 defaults to 'http' enable https in case your application is server via https
|
||||||
#scheme: https
|
#scheme: https
|
||||||
# basic auth is not needed by default. See https://www.jhipster.tech/monitoring/#configuring-metrics-forwarding for details
|
# basic auth is not needed by default. See https://www.jhipster.tech/monitoring/#configuring-metrics-forwarding for details
|
||||||
#basic_auth:
|
basic_auth:
|
||||||
# username: prometheus
|
username: prometheus
|
||||||
# password:
|
password:
|
||||||
metrics_path: /management/prometheus
|
metrics_path: /management/prometheus
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue