mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2026-03-22 10:47:17 +08:00
update 优化 nacos prometheus 认证访问
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user