mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
fix prometheus.consul.yml.j2
This commit is contained in:
parent
871947a849
commit
0cc444294f
1 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@ global:
|
|||
scrape_configs:
|
||||
- job_name: 'node_exporter'
|
||||
consul_sd_configs:
|
||||
- server: 'consul.newsblur.com:8500'
|
||||
- server: 'consul.newsblur.com'
|
||||
services: ['node-exporter']
|
||||
relabel_configs:
|
||||
- source_labels: ['__meta_consul_node']
|
||||
|
@ -12,7 +12,7 @@ scrape_configs:
|
|||
|
||||
- job_name: 'mongo_exporter'
|
||||
consul_sd_configs:
|
||||
- server: 'consul.newsblur.com:8500'
|
||||
- server: 'consul.newsblur.com'
|
||||
services: ['mongo-exporter']
|
||||
relabel_configs:
|
||||
- source_labels: ['__meta_consul_node']
|
||||
|
@ -21,7 +21,7 @@ scrape_configs:
|
|||
|
||||
- job_name: 'postgres_exporter'
|
||||
consul_sd_configs:
|
||||
- server: 'consul.newsblur.com:8500'
|
||||
- server: 'consul.newsblur.com'
|
||||
services: ['postgres-exporter']
|
||||
relabel_configs:
|
||||
- source_labels: ['__meta_consul_node']
|
||||
|
@ -31,7 +31,7 @@ scrape_configs:
|
|||
## config for the multiple Redis targets that the exporter will scrape
|
||||
- job_name: 'redis_exporter'
|
||||
consul_sd_configs:
|
||||
- server: 'consul.newsblur.com:8500'
|
||||
- server: 'consul.newsblur.com:'
|
||||
services: ['redis-exporter']
|
||||
relabel_configs:
|
||||
- source_labels: ['__meta_consul_service_id']
|
||||
|
|
Loading…
Add table
Reference in a new issue