mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-10-14 22:20:29 +00:00
update 优化 prometheus http sd发现支持配置账号密码鉴权
This commit is contained in:
@@ -38,5 +38,13 @@ scrape_configs:
|
|||||||
scrape_timeout: 10s
|
scrape_timeout: 10s
|
||||||
metrics_path: /actuator/prometheus
|
metrics_path: /actuator/prometheus
|
||||||
scheme: http
|
scheme: http
|
||||||
|
# monitor 监控的账号密码
|
||||||
|
basic_auth:
|
||||||
|
username: ruoyi
|
||||||
|
password: 123456
|
||||||
http_sd_configs:
|
http_sd_configs:
|
||||||
- url: 'http://127.0.0.1:9100/actuator/prometheus/sd'
|
- url: 'http://127.0.0.1:9100/actuator/prometheus/sd'
|
||||||
|
# monitor 监控的账号密码
|
||||||
|
basic_auth:
|
||||||
|
username: ruoyi
|
||||||
|
password: 123456
|
||||||
|
Reference in New Issue
Block a user