final touches on labeling containers

This commit is contained in:
vegasbrianc 2015-11-18 11:39:11 +01:00
parent b22c48809f
commit a775354c09

View File

@ -5,6 +5,10 @@ prometheus:
links: links:
- "exporter:export" - "exporter:export"
- "cadvisor:cadvisor" - "cadvisor:cadvisor"
labels:
- "name=prometheus"
- "description=Core of Promethues"
- "version=0.16.1"
exporter: exporter:
image: "prom/container-exporter" image: "prom/container-exporter"
@ -15,6 +19,10 @@ exporter:
- "9104:9104" - "9104:9104"
expose: expose:
- "9104" - "9104"
labels:
- "name=exporter"
- "description=Exports prom data"
- "version=latest"
sqlite3: sqlite3:
image: "prom/promdash" image: "prom/promdash"
@ -35,6 +43,10 @@ promdash:
- /tmp/prom:/tmp/prom - /tmp/prom:/tmp/prom
environment: environment:
- "DATABASE_URL=sqlite3:/tmp/prom/file.sqlite3" - "DATABASE_URL=sqlite3:/tmp/prom/file.sqlite3"
labels:
- "name=prom dashboard"
- "description=Dashboards for metrics"
- "version=latest"
cadvisor: cadvisor:
image: "google/cadvisor" image: "google/cadvisor"
@ -47,3 +59,7 @@ cadvisor:
- "8080:8080" - "8080:8080"
expose: expose:
- "8080" - "8080"
labels:
- "name=cAdvisor"
- "description=Google Container Advisor collects metrics from host and containers"
- "version=latest"