mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-12-26 07:26:43 +08:00
update 优化 nacos prometheus 认证访问
This commit is contained in:
parent
5cdd7999d2
commit
bcfddb431d
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user