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