Correct configuration of targets (#179)
This commit is contained in:
parent
ae31b4743b
commit
9f727093e9
|
@ -36,39 +36,18 @@ scrape_configs:
|
|||
static_configs:
|
||||
- targets: ['localhost:9090']
|
||||
|
||||
|
||||
- job_name: 'cadvisor'
|
||||
|
||||
# Override the global default and scrape targets from this job every 5 seconds.
|
||||
scrape_interval: 15s
|
||||
|
||||
dns_sd_configs:
|
||||
- names:
|
||||
- 'tasks.cadvisor'
|
||||
type: 'A'
|
||||
port: 8080
|
||||
|
||||
# static_configs:
|
||||
# - targets: ['cadvisor:8080']
|
||||
static_configs:
|
||||
- targets: ['cadvisor:8080']
|
||||
|
||||
- job_name: 'node-exporter'
|
||||
|
||||
# Override the global default and scrape targets from this job every 5 seconds.
|
||||
scrape_interval: 15s
|
||||
|
||||
dns_sd_configs:
|
||||
- names:
|
||||
- 'tasks.node-exporter'
|
||||
type: 'A'
|
||||
port: 9100
|
||||
|
||||
# - job_name: 'pushgateway'
|
||||
# scrape_interval: 10s
|
||||
# dns_sd_configs:
|
||||
# - names:
|
||||
# - 'tasks.pushgateway'
|
||||
# type: 'A'
|
||||
# port: 9091
|
||||
|
||||
# static_configs:
|
||||
# - targets: ['node-exporter:9100']
|
||||
static_configs:
|
||||
- targets: ['node-exporter:9100']
|
||||
|
|
Loading…
Reference in New Issue