mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2026-05-14 07:32:09 +08:00
update 优化 nacos prometheus 认证访问
This commit is contained in:
@@ -31,6 +31,10 @@ scrape_configs:
|
|||||||
metrics_path: '/nacos/actuator/prometheus'
|
metrics_path: '/nacos/actuator/prometheus'
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['127.0.0.1:8848']
|
- targets: ['127.0.0.1:8848']
|
||||||
|
# monitor 监控的账号密码
|
||||||
|
basic_auth:
|
||||||
|
username: ruoyi
|
||||||
|
password: 123456
|
||||||
|
|
||||||
- job_name: RuoYi-Cloud-Plus
|
- job_name: RuoYi-Cloud-Plus
|
||||||
honor_timestamps: true
|
honor_timestamps: true
|
||||||
|
|||||||
Reference in New Issue
Block a user