Commit f00725b 1 parent 85df97d commit f00725b Copy full SHA for f00725b
File tree 2 files changed +16
-0
lines changed
backend/grafana/provisioning/datasources
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : 1
2
2
datasources :
3
+
3
4
- name : Prometheus
4
5
label : Prometheus
5
6
type : prometheus
6
7
access : proxy
7
8
url : http://${ITMO_DATING_PROMETHEUS_HOST}:9090
8
9
isDefault : true
10
+
11
+ - name : Loki
12
+ label : Loki
13
+ type : loki
14
+ access : proxy
15
+ url : http://${ITMO_DATING_LOKI_HOST}:3100
Original file line number Diff line number Diff line change @@ -177,6 +177,13 @@ services:
177
177
- prometheus-data:/prometheus
178
178
tty : true
179
179
hostname : prometheus.dating.se.ifmo.ru
180
+ loki :
181
+ image : grafana/loki
182
+ command : -config.file=/etc/loki/local-config.yaml
183
+ volumes :
184
+ - loki-data:/loki
185
+ tty : true
186
+ hostname : loki.dating.se.ifmo.ru
180
187
grafana :
181
188
image : ghcr.io/secs-dev/itmo-dating-grafana:latest
182
189
build :
@@ -185,6 +192,7 @@ services:
185
192
GF_SECURITY_ADMIN_USER : ${ITMO_DATING_GRAFANA_ADMIN_USER?:err}
186
193
GF_SECURITY_ADMIN_PASSWORD : ${ITMO_DATING_GRAFANA_ADMIN_PASSWORD?:err}
187
194
ITMO_DATING_PROMETHEUS_HOST : prometheus.dating.se.ifmo.ru
195
+ ITMO_DATING_LOKI_HOST : loki.dating.se.ifmo.ru
188
196
volumes :
189
197
- grafana-data:/var/lib/grafana
190
198
tty : true
@@ -201,4 +209,5 @@ volumes:
201
209
minio-data :
202
210
consul-data :
203
211
prometheus-data :
212
+ loki-data :
204
213
grafana-data :
You can’t perform that action at this time.
0 commit comments