projects
/
demos
/
kafka
/
monitoring
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89015cc
)
WIP:grafana
author
Kai Moritz
<kai@juplo.de>
Mon, 7 Aug 2023 19:02:53 +0000
(21:02 +0200)
committer
Kai Moritz
<kai@juplo.de>
Mon, 7 Aug 2023 19:02:53 +0000
(21:02 +0200)
docker-compose.yml
patch
|
blob
|
history
grafana/datasource.yml
patch
|
blob
|
history
diff --git
a/docker-compose.yml
b/docker-compose.yml
index
1e9dc5a
..
89298f1
100644
(file)
--- a/
docker-compose.yml
+++ b/
docker-compose.yml
@@
-156,6
+156,9
@@
services:
image: grafana/grafana:10.0.3
ports:
- "3000:3000"
+ environment:
+ GF_SECURITY_ADMIN_USER: juplo
+ GF_SECURITY_ADMIN_PASSWORD: juplo
volumes:
- ./grafana/dashboard.yml:/etc/grafana/provisioning/dashboards/main.yaml
- ./grafana/datasource.yml:/etc/grafana/provisioning/datasources/automatic.yaml
diff --git
a/grafana/datasource.yml
b/grafana/datasource.yml
index
9f63e61
..
9bbd075
100644
(file)
--- a/
grafana/datasource.yml
+++ b/
grafana/datasource.yml
@@
-1,11
+1,11
@@
apiVersion: 1
deleteDatasources:
- - name: P
ROMETHEUS
+ - name: P
rometheus
orgId: 1
datasources:
-- name: P
ROMETHEUS
+- name: P
rometheus
type: prometheus
url: http://prometheus:9090/