-
Notifications
You must be signed in to change notification settings - Fork 0
/
loki-config.yml
57 lines (49 loc) · 1.15 KB
/
loki-config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
auth_enabled: false
server:
http_listen_port: 3100
distributor:
ring:
kvstore:
store: memberlist
ingester:
lifecycler:
ring:
kvstore:
store: memberlist
replication_factor: 1
final_sleep: 0s
chunk_idle_period: 5m
chunk_retain_period: 30s
wal:
enabled: true
dir: /loki/wal
memberlist:
abort_if_cluster_join_fails: false
bind_port: 7946 # Expose this port on all distributor, ingester and querier replicas.
join_members: # You can use a headless k8s service for all distributor, ingester and querier components.
- loki:7946
max_join_retries: 10
max_join_backoff: 1m
min_join_backoff: 1s
schema_config:
configs:
- from: 2022-01-11
store: tsdb
object_store: s3
schema: v13
index:
prefix: index_
period: 24h
storage_config:
tsdb_shipper:
active_index_directory: /loki/index
cache_location: /loki/index_cache
resync_interval: 5s
aws:
s3: http://minioadmin:minioadmin@minio.:9000/loki
s3forcepathstyle: true
limits_config:
reject_old_samples: true
reject_old_samples_max_age: 168h
compactor:
working_directory: /loki/tsdb-shipper-compactor