From 79da5f1e82e397566c02d63f5029013ce43e1366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20L=C3=B3pez=20de=20la=20Franca=20Beltran?= Date: Tue, 12 Apr 2022 19:53:35 +0200 Subject: [PATCH] Contents for lecture 3-1 --- 3-1-grafana-loki/docker-compose.yml | 14 ++++++++++++++ 3-1-grafana-loki/provisioning/datasources/loki.yml | 8 ++++++++ 2 files changed, 22 insertions(+) create mode 100644 3-1-grafana-loki/docker-compose.yml create mode 100644 3-1-grafana-loki/provisioning/datasources/loki.yml diff --git a/3-1-grafana-loki/docker-compose.yml b/3-1-grafana-loki/docker-compose.yml new file mode 100644 index 0000000..d83955f --- /dev/null +++ b/3-1-grafana-loki/docker-compose.yml @@ -0,0 +1,14 @@ +version: "3.9" + +services: + grafana: + image: "grafana/grafana:8.4.2" + ports: + - "3000:3000" + volumes: + - ./provisioning:/etc/grafana/provisioning + + loki: + image: "grafana/loki:2.4.2" + ports: + - "3100:3100" \ No newline at end of file diff --git a/3-1-grafana-loki/provisioning/datasources/loki.yml b/3-1-grafana-loki/provisioning/datasources/loki.yml new file mode 100644 index 0000000..fd2fc24 --- /dev/null +++ b/3-1-grafana-loki/provisioning/datasources/loki.yml @@ -0,0 +1,8 @@ +apiVersion: 1 + +datasources: + - name: Loki + type: loki + url: http://loki:3100 + isDefault: true + editable: true