-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathloki-config.yaml
More file actions
55 lines (49 loc) · 1.13 KB
/
loki-config.yaml
File metadata and controls
55 lines (49 loc) · 1.13 KB
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
auth_enabled: false # disable multi-tenancy
server:
http_listen_port: 3100
common:
path_prefix: /loki
storage:
filesystem:
chunks_directory: /loki/chunks
rules_directory: /loki/rules
replication_factor: 1
ring:
kvstore:
store: inmemory
schema_config:
configs:
- from: 2020-10-24
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: index_
period: 24h
limits_config:
max_cache_freshness_per_query: 10m
allow_structured_metadata: true
reject_old_samples: false
reject_old_samples_max_age: 8760h
ingestion_rate_mb: 10
ingestion_burst_size_mb: 20
split_queries_by_interval: 15m # parallelize queries in 15min intervals
unordered_writes: true
max_query_length: 5000h
otlp_config:
resource_attributes:
attributes_config:
- action: index_label
attributes:
- eventType
- id
- initiatedBy
- clusterId
ingester:
chunk_idle_period: 5m
chunk_target_size: 1048576
max_chunk_age: 8760h # 1y
wal:
enabled: true
ruler:
alertmanager_url: http://localhost:9093