Contents for lecture 3-3

This commit is contained in:
Joan López de la Franca Beltran 2022-04-12 20:13:41 +02:00
parent 875263ef4e
commit a5a0d7160e
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,22 @@
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"
flog:
image: "mingrammer/flog:0.4.3"
command: flog -f json -t stdout -w -l
logging:
driver: "loki"
options:
loki-url: http://localhost:3100/loki/api/v1/push

View File

@ -0,0 +1,8 @@
apiVersion: 1
datasources:
- name: Loki
type: loki
url: http://loki:3100
isDefault: true
editable: true