Skip to content

Commit

Permalink
Fix: prometheus agent metrics port
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Luis Lucas committed Apr 11, 2019
1 parent d08fad8 commit 8fb9d65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/aws/provision/templates/prometheus-config.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ scrape_configs:
- job_name: 'Publisher{{loop.index0}}'
scrape_interval: 10s
static_configs:
- targets: ['{{ hostvars[host]['ansible_eth0']['ipv4']['address'] }}:18300']
- targets: ['{{ hostvars[host]['ansible_eth0']['ipv4']['address'] }}:18100']
- job_name: 'Publisher{{loop.index0}}-Host'
scrape_interval: 10s
static_configs:
Expand All @@ -49,7 +49,7 @@ scrape_configs:
- job_name: 'Monitor{{loop.index0}}'
scrape_interval: 10s
static_configs:
- targets: ['{{ hostvars[host]['ansible_eth0']['ipv4']['address'] }}:18200']
- targets: ['{{ hostvars[host]['ansible_eth0']['ipv4']['address'] }}:18100']
- job_name: 'Monitor{{loop.index0}}-Host'
scrape_interval: 10s
static_configs:
Expand Down

0 comments on commit 8fb9d65

Please sign in to comment.