Smush deluge into one job with separate labels for each target
This commit is contained in:
parent
b55ef4fbd1
commit
170eb1014c
@ -71,30 +71,18 @@ scrape_configs:
|
||||
- targets: ['5e-jafner-tools:9117']
|
||||
metrics_path: "/metrics"
|
||||
|
||||
- job_name: 'deluge_ggn'
|
||||
- job_name: 'deluge'
|
||||
scrape_interval: 5s
|
||||
static_configs:
|
||||
- targets: ['192.168.1.21:53000']
|
||||
labels:
|
||||
instance: 'ggn'
|
||||
|
||||
- job_name: 'deluge_mam'
|
||||
scrape_interval: 5s
|
||||
static_configs:
|
||||
- targets: ['192.168.1.21:53100']
|
||||
labels:
|
||||
instance: 'mam'
|
||||
|
||||
- job_name: 'deluge_emp'
|
||||
scrape_interval: 5s
|
||||
static_configs:
|
||||
- targets: ['192.168.1.21:53200']
|
||||
labels:
|
||||
instance: 'emp'
|
||||
|
||||
- job_name: 'deluge_pub'
|
||||
scrape_interval: 5s
|
||||
static_configs:
|
||||
- targets: ['192.168.1.21:53300']
|
||||
labels:
|
||||
instance: 'pub'
|
||||
|
Loading…
Reference in New Issue
Block a user