【 使用环境 】测试环境
【 OB or 其他组件 】obd部署oceanbase-ce 3.1.4
【问题描述】promethes监控oceanbase3.1.4版本ob_basic和ob_extra监控项是down状态
【复现路径】无
我promethes监控配置文件用的是obd部署obagent相对应的配置文件。如下配置
global:
scrape_interval: 1s
evaluation_interval: 10s
rule_files:
- “rules/*rules.yml”
scrape_configs:
- job_name: prometheus
metrics_path: /metrics
scheme: http
static_configs:- targets:
- ‘localhost:9090’
- targets:
- job_name: node
basic_auth:
username: admin
password: admin
metrics_path: /metrics/node/host
scheme: http
static_configs:- targets:
- 10.194.100.140:8088
- 10.194.100.141:8088
- 10.194.100.142:8088
- targets:
- job_name: ob_basic
basic_auth:
username: admin
password: admin
metrics_path: /metrics/ob/basic
scheme: http
static_configs:- targets:
- 10.194.100.140:8088
- 10.194.100.141:8088
- 10.194.100.142:8088
- targets:
- job_name: ob_extra
basic_auth:
username: admin
password: admin
metrics_path: /metrics/ob/extra
scheme: http
static_configs:- targets:
- 10.194.100.140:8088
- 10.194.100.141:8088
- 10.194.100.142:8088
- targets:
- job_name: agent
basic_auth:
username: admin
password: admin
metrics_path: /metrics/stat
scheme: http
static_configs:- targets:
- 10.194.100.140:8088
- 10.194.100.141:8088
- 10.194.100.142:8088
- targets: