Updated prometheus.yml to support basic_auth

This commit is contained in:
Giancarlo Panichi 2021-12-21 10:24:47 +01:00
parent 7914011e53
commit 562464ecf7
1 changed files with 3 additions and 3 deletions

View File

@ -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: