提交 cbf8c5de authored 作者: testing's avatar testing

fix

上级 8275eb79
...@@ -227,12 +227,19 @@ scrape_configs: ...@@ -227,12 +227,19 @@ scrape_configs:
- job_name: 'mongodb' - job_name: 'mongodb'
metrics_path: /probe metrics_path: /probe
params: params:
module: [tcp] module: [http_2xx]
static_configs: static_configs:
- targets: ['mongodb_exporter:9103'] - targets: ['172.26.239.42:27017']
labels: labels:
instance: 'mongodb' instance: 'mongodb'
group: 'cloud' group: 'cloud'
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: blackbox_exporter:9115
# - job_name: 'pushgateway' # - job_name: 'pushgateway'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论