Add cadvisor to collect docker metrics
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
global:
|
global:
|
||||||
scrape_interval: 10s
|
scrape_interval: 10s
|
||||||
external_labels:
|
external_labels:
|
||||||
monitor: 'cs-home-monitor'
|
monitor: cs-home-monitor
|
||||||
scrape_configs:
|
scrape_configs:
|
||||||
- job_name: 'prometheus'
|
- job_name: prometheus
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['prometheus.lan']
|
- targets: ['prometheus.lan']
|
||||||
- job_name: 'docker'
|
- job_name: cadvisor
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['localhost:9323']
|
- targets: ['cadvisor.lan']
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user