File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ services:
85
85
image : gcr.io/cadvisor/cadvisor:latest
86
86
container_name : cadvisor
87
87
privileged : true
88
+ platform : linux/amd64
88
89
ports :
89
90
- 8080:8080
90
91
volumes :
@@ -119,7 +120,7 @@ services:
119
120
- 2999:3000
120
121
volumes :
121
122
# Share the named volume with the grafana container
122
- - grafana-dir :/etc/grafana
123
+ - ./ grafana/datasources :/etc/grafana/provisioning/datasources
123
124
environment :
124
125
GF_PATHS_CONFIG : /etc/grafana/grafana.ini
125
126
GF_SECURITY_ALLOW_EMBEDDING : ' true'
Original file line number Diff line number Diff line change
1
+ apiVersion : 1
2
+
3
+ datasources :
4
+ - name : Prometheus
5
+ type : prometheus
6
+ access : proxy
7
+ url : http://prometheus-service.default.svc:9090
Original file line number Diff line number Diff line change @@ -35,3 +35,4 @@ scrape_configs:
35
35
# - job_name: 'orders'
36
36
# static_configs:
37
37
# - targets: ['localhost:7777']
38
+
You can’t perform that action at this time.
0 commit comments