-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathloki-config.yaml
More file actions
36 lines (30 loc) · 792 Bytes
/
loki-config.yaml
File metadata and controls
36 lines (30 loc) · 792 Bytes
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
auth_enabled: false
server:
http_listen_port: 3100
grpc_listen_port: 9095
common:
path_prefix: /loki
replication_factor: 1
# O index_store agora usa o kvstore (inmemory)
ring:
instance_addr: 127.0.0.1
kvstore:
store: inmemory # Simples para desenvolvimento
schema_config:
configs:
- from: 2020-10-24
store: boltdb-shipper
object_store: filesystem
schema: v11
index:
prefix: index_
period: 24h
storage_config: # E mais seguro usar storage_config em vez de common.storage
boltdb_shipper:
active_index_directory: /tmp/loki/boltdb-shipper-active
cache_location: /tmp/loki/boltdb-shipper-cache
cache_ttl: 24h
filesystem:
directory: /tmp/loki/chunks
limits_config:
allow_structured_metadata: false