Skip to content

Commit 5c78f90

Browse files
authored
Merge branch 'main' into client_config
2 parents 366398a + 9767807 commit 5c78f90

File tree

95 files changed

+55292
-4355
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+55292
-4355
lines changed

docs/sources/_index.md

+37-8
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,48 @@
11
---
2-
title: Grafana Loki documentation
3-
description: "Technical documentation for Grafana Loki"
2+
title: Grafana Loki
3+
description: Grafana Loki is a set of open source components that can be composed into a fully featured logging stack.
44
aliases:
55
- /docs/loki/
66
weight: 100
7+
hero:
8+
title: Grafana Loki
9+
level: 1
10+
image: /media/docs/loki/logo-grafana-loki.png
11+
width: 110
12+
height: 110
13+
description: Grafana Loki is a set of open source components that can be composed into a fully featured logging stack. A small index and highly compressed chunks simplifies the operation and significantly lowers the cost of Loki.
14+
cards:
15+
title_class: pt-0 lh-1
16+
items:
17+
- title: Learn about Loki
18+
href: /docs/loki/latest/get-started/
19+
description: Learn about the Loki architecture and components, the various deployment modes, and best practices for labels.
20+
- title: Set up Loki
21+
href: /docs/loki/latest/setup/
22+
description: View instructions for how to configure and install Loki, migrate from previous deployments, and upgrade your Loki environment.
23+
- title: Configure Loki
24+
href: /docs/loki/latest/configure/
25+
description: View the Loki configuration reference and configuration examples.
26+
- title: Send logs to Loki
27+
href: /docs/loki/latest/send-data/
28+
description: Select one or more clients to use to send your logs to Loki.
29+
- title: Manage Loki
30+
href: /docs/loki/latest/operations/
31+
description: Learn how to manage tenants, log ingestion, storage, queries, and more.
32+
- title: Query with LogQL
33+
href: /docs/loki/latest/query/
34+
description: Inspired by PromQL, LogQL is Grafana Loki’s query language. LogQL uses labels and operators for filtering.
735
---
836

9-
# Grafana Loki documentation
37+
{{< docs/hero-simple key="hero" >}}
1038

11-
<p align="center"> <img src="logo_and_name.png" alt="Loki Logo"> <br>
39+
---
1240

13-
Grafana Loki is a set of components that can be composed into a fully featured logging stack.
41+
## Overview
1442

15-
Unlike other logging systems, Loki is built around the idea of only indexing metadata about your logs: labels (just like Prometheus labels).
43+
Unlike other logging systems, Loki is built around the idea of only indexing metadata about your logs' labels (just like Prometheus labels).
1644
Log data itself is then compressed and stored in chunks in object stores such as Amazon Simple Storage Service (S3) or Google Cloud Storage (GCS), or even locally on the filesystem.
17-
A small index and highly compressed chunks simplifies the operation and significantly lowers the cost of Loki.
1845

19-
For more information, see the [Loki overview]({{< relref "./get-started/overview" >}}).
46+
## Explore
47+
48+
{{< card-grid key="cards" type="simple" >}}

docs/sources/setup/install/helm/install-microservices/_index.md

+67-67
Original file line numberDiff line numberDiff line change
@@ -48,73 +48,73 @@ It is not recommended to run scalable mode with `filesystem` storage. For the pu
4848
3. Create the configuration file `values.yaml`. The example below illustrates how to deploy Loki in test mode using MinIO as storage:
4949

5050
```yaml
51-
loki:
52-
schemaConfig:
53-
configs:
54-
- from: 2024-04-01
55-
store: tsdb
56-
object_store: s3
57-
schema: v13
58-
index:
59-
prefix: loki_index_
60-
period: 24h
61-
ingester:
62-
chunk_encoding: snappy
63-
tracing:
64-
enabled: true
65-
querier:
66-
# Default is 4, if you have enough memory and CPU you can increase, reduce if OOMing
67-
max_concurrent: 4
68-
69-
#gateway:
70-
# ingress:
71-
# enabled: true
72-
# hosts:
73-
# - host: FIXME
74-
# paths:
75-
# - path: /
76-
# pathType: Prefix
77-
78-
deploymentMode: Distributed
79-
80-
ingester:
81-
replicas: 3
82-
querier:
83-
replicas: 3
84-
maxUnavailable: 2
85-
queryFrontend:
86-
replicas: 2
87-
maxUnavailable: 1
88-
queryScheduler:
89-
replicas: 2
90-
distributor:
91-
replicas: 3
92-
maxUnavailable: 2
93-
compactor:
94-
replicas: 1
95-
indexGateway:
96-
replicas: 2
97-
maxUnavailable: 1
98-
99-
bloomCompactor:
100-
replicas: 0
101-
bloomGateway:
102-
replicas: 0
103-
104-
# Enable minio for storage
105-
minio:
106-
enabled: true
107-
108-
# Zero out replica counts of other deployment modes
109-
backend:
110-
replicas: 0
111-
read:
112-
replicas: 0
113-
write:
114-
replicas: 0
115-
116-
singleBinary:
117-
replicas: 0
51+
loki:
52+
schemaConfig:
53+
configs:
54+
- from: 2024-04-01
55+
store: tsdb
56+
object_store: s3
57+
schema: v13
58+
index:
59+
prefix: loki_index_
60+
period: 24h
61+
ingester:
62+
chunk_encoding: snappy
63+
tracing:
64+
enabled: true
65+
querier:
66+
# Default is 4, if you have enough memory and CPU you can increase, reduce if OOMing
67+
max_concurrent: 4
68+
69+
#gateway:
70+
# ingress:
71+
# enabled: true
72+
# hosts:
73+
# - host: FIXME
74+
# paths:
75+
# - path: /
76+
# pathType: Prefix
77+
78+
deploymentMode: Distributed
79+
80+
ingester:
81+
replicas: 3
82+
querier:
83+
replicas: 3
84+
maxUnavailable: 2
85+
queryFrontend:
86+
replicas: 2
87+
maxUnavailable: 1
88+
queryScheduler:
89+
replicas: 2
90+
distributor:
91+
replicas: 3
92+
maxUnavailable: 2
93+
compactor:
94+
replicas: 1
95+
indexGateway:
96+
replicas: 2
97+
maxUnavailable: 1
98+
99+
bloomCompactor:
100+
replicas: 0
101+
bloomGateway:
102+
replicas: 0
103+
104+
# Enable minio for storage
105+
minio:
106+
enabled: true
107+
108+
# Zero out replica counts of other deployment modes
109+
backend:
110+
replicas: 0
111+
read:
112+
replicas: 0
113+
write:
114+
replicas: 0
115+
116+
singleBinary:
117+
replicas: 0
118118
```
119119
120120
4. Install or upgrade the Loki deployment.

0 commit comments

Comments
 (0)