File tree Expand file tree Collapse file tree 4 files changed +76
-0
lines changed
Expand file tree Collapse file tree 4 files changed +76
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,14 @@ services:
6767 image : " stakers-metrics.dms.dnp.dappnode.eth:1.0.3"
6868 environment :
6969 - DEBUG_MODE=false
70+ loki :
71+ build :
72+ context : loki
73+ args :
74+ UPSTREAM_VERSION : 2.7.3
75+ command : " -config.file=/etc/loki/local-config.yaml"
76+ restart : always
77+ image : " loki.dms.dnp.dappnode.eth:1.0.1"
7078volumes :
7179 grafana_data : {}
7280 prometheus_data : {}
Original file line number Diff line number Diff line change @@ -9,3 +9,11 @@ datasources:
99 basicAuth : false
1010 isDefault : true
1111 editable : true
12+ - name : loki
13+ type : loki
14+ access : proxy
15+ orgId : 1
16+ url : http://loki:3100
17+ basicAuth : false
18+ isDefault : false
19+ editable : true
Original file line number Diff line number Diff line change 1+
2+ ARG UPSTREAM_VERSION
3+
4+ FROM grafana/loki:${UPSTREAM_VERSION}
5+
6+ COPY local-config.yaml /etc/loki/local-config.yaml
Original file line number Diff line number Diff line change 1+ auth_enabled : false
2+
3+ server :
4+ http_listen_port : 3100
5+ grpc_listen_port : 9096
6+
7+ common :
8+ instance_addr : 127.0.0.1
9+ path_prefix : /tmp/loki
10+ storage :
11+ filesystem :
12+ chunks_directory : /tmp/loki/chunks
13+ rules_directory : /tmp/loki/rules
14+ replication_factor : 1
15+ ring :
16+ kvstore :
17+ store : inmemory
18+
19+ query_range :
20+ results_cache :
21+ cache :
22+ embedded_cache :
23+ enabled : true
24+ max_size_mb : 100
25+
26+ schema_config :
27+ configs :
28+ - from : 2020-10-24
29+ store : boltdb-shipper
30+ object_store : filesystem
31+ schema : v11
32+ index :
33+ prefix : index_
34+ period : 24h
35+
36+ limits_config :
37+ ingestion_rate_mb : 1024
38+ ingestion_burst_size_mb : 1024
39+
40+ ruler :
41+ alertmanager_url : http://localhost:9093
42+
43+ # By default, Loki will send anonymous, but uniquely-identifiable usage and configuration
44+ # analytics to Grafana Labs. These statistics are sent to https://stats.grafana.org/
45+ #
46+ # Statistics help us better understand how Loki is used, and they show us performance
47+ # levels for most users. This helps us prioritize features and documentation.
48+ # For more information on what's sent, look at
49+ # https://github.com/grafana/loki/blob/main/pkg/usagestats/stats.go
50+ # Refer to the buildReport method to see what goes into a report.
51+ #
52+ # If you would like to disable reporting, uncomment the following lines:
53+ # analytics:
54+ # reporting_enabled: false
You can’t perform that action at this time.
0 commit comments