Contents for lecture 3-1
This commit is contained in:
parent
a7004f2403
commit
79da5f1e82
14
3-1-grafana-loki/docker-compose.yml
Normal file
14
3-1-grafana-loki/docker-compose.yml
Normal file
@ -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"
|
8
3-1-grafana-loki/provisioning/datasources/loki.yml
Normal file
8
3-1-grafana-loki/provisioning/datasources/loki.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
apiVersion: 1
|
||||||
|
|
||||||
|
datasources:
|
||||||
|
- name: Loki
|
||||||
|
type: loki
|
||||||
|
url: http://loki:3100
|
||||||
|
isDefault: true
|
||||||
|
editable: true
|
Loading…
Reference in New Issue
Block a user