From: Kai Moritz Date: Mon, 7 Aug 2023 18:50:05 +0000 (+0200) Subject: WIP:grafana X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=89015cc88a7432bf166ebc39673292f3b6543143;p=demos%2Fkafka%2Fmonitoring WIP:grafana --- diff --git a/grafana/dashboard.yml b/grafana/dashboard.yml new file mode 100644 index 0000000..fd66a47 --- /dev/null +++ b/grafana/dashboard.yml @@ -0,0 +1,12 @@ +apiVersion: 1 + +providers: + - name: "Dashboard provider" + orgId: 1 + type: file + disableDeletion: false + updateIntervalSeconds: 10 + allowUiUpdates: false + options: + path: /var/lib/grafana/dashboards + foldersFromFilesStructure: true diff --git a/grafana/datasource.yml b/grafana/datasource.yml new file mode 100644 index 0000000..9f63e61 --- /dev/null +++ b/grafana/datasource.yml @@ -0,0 +1,11 @@ +apiVersion: 1 + +deleteDatasources: + - name: PROMETHEUS + orgId: 1 + +datasources: +- name: PROMETHEUS + type: prometheus + url: http://prometheus:9090/ +