|
@@ -30,7 +30,7 @@ scrape_configs:
|
|
#NodeExporter(9100) //todo 填写端口与地址
|
|
#NodeExporter(9100) //todo 填写端口与地址
|
|
- job_name: "NodeExporter"
|
|
- job_name: "NodeExporter"
|
|
metrics_path: /metrics
|
|
metrics_path: /metrics
|
|
- static_config:
|
|
|
|
|
|
+ static_configs:
|
|
- targets: 'localhost: 9100'
|
|
- targets: 'localhost: 9100'
|
|
- targets: ''
|
|
- targets: ''
|
|
- targets: ''
|
|
- targets: ''
|
|
@@ -39,7 +39,7 @@ scrape_configs:
|
|
#clickhouse(9363) //todo 填写端口与地址 (配置文件中prometheus收集指标的端口 默认为9363)
|
|
#clickhouse(9363) //todo 填写端口与地址 (配置文件中prometheus收集指标的端口 默认为9363)
|
|
- job_name: "clickhouse"
|
|
- job_name: "clickhouse"
|
|
metrics_path: /metrics
|
|
metrics_path: /metrics
|
|
- static_config:
|
|
|
|
|
|
+ static_configs:
|
|
- targets:
|
|
- targets:
|
|
- 'target1:port'
|
|
- 'target1:port'
|
|
- targets:
|
|
- targets:
|
|
@@ -48,7 +48,7 @@ scrape_configs:
|
|
#clickhousekeeper() //todo : 填写端口与地址
|
|
#clickhousekeeper() //todo : 填写端口与地址
|
|
- job_name: "clickhouse-keeper"
|
|
- job_name: "clickhouse-keeper"
|
|
metrics_path: /metrics
|
|
metrics_path: /metrics
|
|
- static_config:
|
|
|
|
|
|
+ static_configs:
|
|
- targets:
|
|
- targets:
|
|
- 'target1:port'
|
|
- 'target1:port'
|
|
- targets:
|
|
- targets:
|