From: Kai Moritz Date: Mon, 7 Aug 2023 19:02:53 +0000 (+0200) Subject: WIP:grafana X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=6cbe2819f1414449cfcda325092b7e6e71bb05d3;p=demos%2Fkafka%2Fmonitoring WIP:grafana --- diff --git a/docker-compose.yml b/docker-compose.yml index 1e9dc5a..89298f1 100644 --- 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 --- a/grafana/datasource.yml +++ b/grafana/datasource.yml @@ -1,11 +1,11 @@ apiVersion: 1 deleteDatasources: - - name: PROMETHEUS + - name: Prometheus orgId: 1 datasources: -- name: PROMETHEUS +- name: Prometheus type: prometheus url: http://prometheus:9090/