Mohammed Naser | 65cda13 | 2024-05-02 14:34:08 -0400 | [diff] [blame] | 1 | --- |
2 | loki: | ||||
3 | schemaConfig: | ||||
4 | configs: | ||||
5 | - from: 2024-04-01 | ||||
6 | store: tsdb | ||||
7 | object_store: s3 | ||||
8 | schema: v13 | ||||
9 | index: | ||||
10 | prefix: loki_index_ | ||||
11 | period: 24h | ||||
12 | ingester: | ||||
13 | chunk_encoding: snappy | ||||
14 | tracing: | ||||
15 | enabled: true | ||||
16 | querier: | ||||
17 | # Default is 4, if you have enough memory and CPU you can increase, reduce if OOMing | ||||
18 | max_concurrent: 4 | ||||
19 | |||||
20 | #gateway: | ||||
21 | # ingress: | ||||
22 | # enabled: true | ||||
23 | # hosts: | ||||
24 | # - host: FIXME | ||||
25 | # paths: | ||||
26 | # - path: / | ||||
27 | # pathType: Prefix | ||||
28 | |||||
29 | deploymentMode: Distributed | ||||
30 | |||||
31 | ingester: | ||||
32 | replicas: 3 | ||||
33 | querier: | ||||
34 | replicas: 3 | ||||
35 | maxUnavailable: 2 | ||||
36 | queryFrontend: | ||||
37 | replicas: 2 | ||||
38 | maxUnavailable: 1 | ||||
39 | queryScheduler: | ||||
40 | replicas: 2 | ||||
41 | distributor: | ||||
42 | replicas: 3 | ||||
43 | maxUnavailable: 2 | ||||
44 | compactor: | ||||
45 | replicas: 1 | ||||
46 | indexGateway: | ||||
47 | replicas: 2 | ||||
48 | maxUnavailable: 1 | ||||
49 | |||||
50 | bloomCompactor: | ||||
51 | replicas: 0 | ||||
52 | bloomGateway: | ||||
53 | replicas: 0 | ||||
54 | |||||
55 | # Enable minio for storage | ||||
56 | minio: | ||||
57 | enabled: true | ||||
58 | |||||
59 | # Zero out replica counts of other deployment modes | ||||
60 | backend: | ||||
61 | replicas: 0 | ||||
62 | read: | ||||
63 | replicas: 0 | ||||
64 | write: | ||||
65 | replicas: 0 | ||||
66 | |||||
67 | singleBinary: | ||||
68 | replicas: 0 | ||||
69 | |||||
70 |