library/roles/prometheus/templates/prometheus.yml.j2: Put it in line with the running version, waiting for a real template here.

This commit is contained in:
Andrea Dell'Amico 2018-01-12 18:06:08 +01:00
parent b2ae79e61f
commit 3fd380f557
1 changed files with 10 additions and 1 deletions

View File

@ -26,4 +26,13 @@ scrape_configs:
# scheme defaults to 'http'.
static_configs:
- targets: ['localhost:9090']
- targets: ['localhost:9090'], 'localhost:9100']
labels:
group: 'Prometheus Server'
- job_name: 'node'
static_configs:
- targets: [ 'localhost:9100']
labels:
group: 'node'