From bcfddb431dfee935014ee4721d39f73c32152f0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Fri, 22 Nov 2024 14:03:01 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=20nacos=20prometheu?= =?UTF-8?q?s=20=E8=AE=A4=E8=AF=81=E8=AE=BF=E9=97=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/prometheus/prometheus.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/prometheus/prometheus.yml b/docker/prometheus/prometheus.yml index 29701a55..a336e5f6 100644 --- a/docker/prometheus/prometheus.yml +++ b/docker/prometheus/prometheus.yml @@ -31,6 +31,10 @@ scrape_configs: metrics_path: '/nacos/actuator/prometheus' static_configs: - targets: ['127.0.0.1:8848'] + # monitor 监控的账号密码 + basic_auth: + username: ruoyi + password: 123456 - job_name: RuoYi-Cloud-Plus honor_timestamps: true