mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Turning off mongo replset lag
This commit is contained in:
parent
1a18f3b36c
commit
eff1e9b69b
1 changed files with 9 additions and 9 deletions
|
@ -132,14 +132,14 @@ scrape_configs:
|
||||||
- source_labels: ['__meta_consul_node']
|
- source_labels: ['__meta_consul_node']
|
||||||
target_label: instance
|
target_label: instance
|
||||||
metrics_path: /objects/
|
metrics_path: /objects/
|
||||||
- job_name: 'mongo repl set lag'
|
# - job_name: 'mongo repl set lag'
|
||||||
consul_sd_configs:
|
# consul_sd_configs:
|
||||||
- server: 'consul.service.nyc1.consul:8500'
|
# - server: 'consul.service.nyc1.consul:8500'
|
||||||
services: ['flask_metrics_mongo']
|
# services: ['flask_metrics_mongo']
|
||||||
relabel_configs:
|
# relabel_configs:
|
||||||
- source_labels: ['__meta_consul_node']
|
# - source_labels: ['__meta_consul_node']
|
||||||
target_label: instance
|
# target_label: instance
|
||||||
metrics_path: /mongo-replset-lag/
|
# metrics_path: /mongo-replset-lag/
|
||||||
- job_name: 'mongo size'
|
- job_name: 'mongo size'
|
||||||
consul_sd_configs:
|
consul_sd_configs:
|
||||||
- server: 'consul.service.nyc1.consul:8500'
|
- server: 'consul.service.nyc1.consul:8500'
|
||||||
|
@ -220,4 +220,4 @@ scrape_configs:
|
||||||
relabel_configs:
|
relabel_configs:
|
||||||
- source_labels: ['__meta_consul_node']
|
- source_labels: ['__meta_consul_node']
|
||||||
target_label: instance
|
target_label: instance
|
||||||
metrics_path: /used-memory/
|
metrics_path: /used-memory/
|
||||||
|
|
Loading…
Add table
Reference in a new issue