ajout label pour cadvisor
This commit is contained in:
parent
7852e82e74
commit
87b007d4b9
@ -13,15 +13,37 @@ scrape_configs:
|
|||||||
# - targets: ['reverse-proxy:8080']
|
# - targets: ['reverse-proxy:8080']
|
||||||
|
|
||||||
- job_name: prometheus
|
- job_name: prometheus
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ["prometheus:9090"]
|
- targets: ["prometheus:9090"]
|
||||||
|
|
||||||
- job_name: cadvisor
|
- job_name: cadvisor
|
||||||
scrape_interval: 30s
|
scrape_interval: 30s
|
||||||
scheme: "https"
|
scheme: "https"
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['cadvisor.kazkouil.fr:443', "cadvisor-prod1.kaz.bzh:443","cadvisor-prod2.kaz.bzh:443","cadvisor-kazoulet.kaz.bzh:443","cadvisor-tykaz.kaz.bzh:443","cadvisor-kazguel.kaz.bzh:443"]
|
- targets: ["cadvisor-prod1.kaz.bzh:443"]
|
||||||
|
labels:
|
||||||
|
host: 'prod1'
|
||||||
|
|
||||||
|
- targets: ["cadvisor-prod2.kaz.bzh:443"]
|
||||||
|
labels:
|
||||||
|
host: 'prod2'
|
||||||
|
|
||||||
|
- targets: ["cadvisor-kazoulet.kaz.bzh:443"]
|
||||||
|
labels:
|
||||||
|
host: 'kazoulet'
|
||||||
|
|
||||||
|
- targets: ["cadvisor-tykaz.kaz.bzh:443"]
|
||||||
|
labels:
|
||||||
|
host: 'tykaz'
|
||||||
|
|
||||||
|
- targets: ["cadvisor-kazguel.kaz.bzh:443"]
|
||||||
|
labels:
|
||||||
|
host: 'kazguel'
|
||||||
|
|
||||||
|
- targets: ["cadvisor.kazkouil.fr:443"]
|
||||||
|
labels:
|
||||||
|
host: 'kazkouil'
|
||||||
|
|
||||||
- job_name: node-exporter
|
- job_name: node-exporter
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: [ 'kazkouil.fr:9100',"prod1.kaz.bzh:9100","prod2.kaz.bzh:9100","kazoulet.kaz.bzh:9100","tykaz.kaz.bzh:9100","kazguel.kaz.bzh:9100" ]
|
- targets: ["prod1.kaz.bzh:9100","prod2.kaz.bzh:9100","kazoulet.kaz.bzh:9100","tykaz.kaz.bzh:9100","kazguel.kaz.bzh:9100","kazkouil.fr:9100"]
|
Loading…
x
Reference in New Issue
Block a user