From 562464ecf7549443c456ddc344b11842b82f0546 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Tue, 21 Dec 2021 10:24:47 +0100 Subject: [PATCH] Updated prometheus.yml to support basic_auth --- templates/prometheus/prometheus.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/prometheus/prometheus.yml b/templates/prometheus/prometheus.yml index d315d83..5072be8 100644 --- a/templates/prometheus/prometheus.yml +++ b/templates/prometheus/prometheus.yml @@ -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: