-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathloki.yaml
81 lines (71 loc) · 1.78 KB
/
loki.yaml
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
auth_enabled: false
server:
http_listen_port: 3100
grpc_listen_port: 9096
ingester:
lifecycler:
address: 0.0.0.0
ring:
replication_factor: 1
kvstore:
store: inmemory
final_sleep: "0s"
wal:
enabled: false
chunk_idle_period: 1h
max_chunk_age: 1h
chunk_target_size: 1048576
chunk_retain_period: 30s
max_transfer_retries: 0
schema_config:
configs:
- from: "2020-05-15"
store: boltdb-shipper
object_store: s3
schema: v11
index:
period: 24h
prefix: index_
storage_config:
aws:
bucketnames: lokik8sminio
endpoint: http://minio-svc.minio-store.svc.cluster.local:9000
insecure: true
s3: null
region: null
s3forcepathstyle: true
access_key_id: minioadmin
secret_access_key: admin@2675
boltdb_shipper:
active_index_directory: /data/loki/index
cache_location: /data/loki/cache
cache_ttl: 24h
shared_store: s3
compactor:
compaction_interval: 5m
shared_store: s3
working_directory: /data/loki/boltdb-shipper-compactor
limits_config:
reject_old_samples: true
reject_old_samples_max_age: 168h
max_global_streams_per_user: 10000 # for error sending batch, Too Many Requests, Ingestion rate limit exceeded
chunk_store_config:
max_look_back_period: 0s
table_manager:
retention_deletes_enabled: false
retention_period: 0s
ruler:
storage:
type: local
local:
directory: /etc/loki/rules
rule_path: /temp/loki/rules
ring:
kvstore:
store: inmemory
alertmanager_url: http://kubemon-alertmanager.monitoring.svc.cluster.local:9093
enable_api: true
enable_alertmanager_v2: true
# If you would like to disable reporting, uncomment the following lines:
#analytics:
# reporting_enabled: false