Skip to content

Commit f5e0d4c

Browse files
committed
working cadvisor with grafana/prom connection. added default datasource and dashboard
1 parent 06bf10f commit f5e0d4c

File tree

4 files changed

+1769
-4
lines changed

4 files changed

+1769
-4
lines changed

examples/docker/docker-compose.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ services:
8282
- orders
8383

8484
cadvisor:
85-
image: gcr.io/cadvisor/cadvisor:latest
85+
image: gcr.io/cadvisor/cadvisor:v0.47.0
8686
container_name: cadvisor
8787
privileged: true
88-
platform: linux/amd64
88+
platform: linux/arm64
8989
ports:
9090
- 8080:8080
9191
volumes:
@@ -120,7 +120,8 @@ services:
120120
- 2999:3000
121121
volumes:
122122
# Share the named volume with the grafana container
123-
- ./grafana/datasources:/etc/grafana/provisioning/datasources
123+
- ./grafana/provisioning/datasources:/etc/grafana/provisioning/datasources
124+
- ./grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards
124125
environment:
125126
GF_PATHS_CONFIG: /etc/grafana/grafana.ini
126127
GF_SECURITY_ALLOW_EMBEDDING: 'true'

0 commit comments

Comments
 (0)