Skip to content

Commit

Permalink
Merge branch 'main' into client_config
Browse files Browse the repository at this point in the history
  • Loading branch information
aleert authored Jun 8, 2024
2 parents 366398a + 9767807 commit 5c78f90
Show file tree
Hide file tree
Showing 95 changed files with 55,292 additions and 4,355 deletions.
45 changes: 37 additions & 8 deletions docs/sources/_index.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,48 @@
---
title: Grafana Loki documentation
description: "Technical documentation for Grafana Loki"
title: Grafana Loki
description: Grafana Loki is a set of open source components that can be composed into a fully featured logging stack.
aliases:
- /docs/loki/
weight: 100
hero:
title: Grafana Loki
level: 1
image: /media/docs/loki/logo-grafana-loki.png
width: 110
height: 110
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.
cards:
title_class: pt-0 lh-1
items:
- title: Learn about Loki
href: /docs/loki/latest/get-started/
description: Learn about the Loki architecture and components, the various deployment modes, and best practices for labels.
- title: Set up Loki
href: /docs/loki/latest/setup/
description: View instructions for how to configure and install Loki, migrate from previous deployments, and upgrade your Loki environment.
- title: Configure Loki
href: /docs/loki/latest/configure/
description: View the Loki configuration reference and configuration examples.
- title: Send logs to Loki
href: /docs/loki/latest/send-data/
description: Select one or more clients to use to send your logs to Loki.
- title: Manage Loki
href: /docs/loki/latest/operations/
description: Learn how to manage tenants, log ingestion, storage, queries, and more.
- title: Query with LogQL
href: /docs/loki/latest/query/
description: Inspired by PromQL, LogQL is Grafana Loki’s query language. LogQL uses labels and operators for filtering.
---

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

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

Grafana Loki is a set of components that can be composed into a fully featured logging stack.
## Overview

Unlike other logging systems, Loki is built around the idea of only indexing metadata about your logs: labels (just like Prometheus labels).
Unlike other logging systems, Loki is built around the idea of only indexing metadata about your logs' labels (just like Prometheus labels).
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.
A small index and highly compressed chunks simplifies the operation and significantly lowers the cost of Loki.

For more information, see the [Loki overview]({{< relref "./get-started/overview" >}}).
## Explore

{{< card-grid key="cards" type="simple" >}}
134 changes: 67 additions & 67 deletions docs/sources/setup/install/helm/install-microservices/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,73 +48,73 @@ It is not recommended to run scalable mode with `filesystem` storage. For the pu
3. Create the configuration file `values.yaml`. The example below illustrates how to deploy Loki in test mode using MinIO as storage:

```yaml
loki:
schemaConfig:
configs:
- from: 2024-04-01
store: tsdb
object_store: s3
schema: v13
index:
prefix: loki_index_
period: 24h
ingester:
chunk_encoding: snappy
tracing:
enabled: true
querier:
# Default is 4, if you have enough memory and CPU you can increase, reduce if OOMing
max_concurrent: 4
#gateway:
# ingress:
# enabled: true
# hosts:
# - host: FIXME
# paths:
# - path: /
# pathType: Prefix
deploymentMode: Distributed
ingester:
replicas: 3
querier:
replicas: 3
maxUnavailable: 2
queryFrontend:
replicas: 2
maxUnavailable: 1
queryScheduler:
replicas: 2
distributor:
replicas: 3
maxUnavailable: 2
compactor:
replicas: 1
indexGateway:
replicas: 2
maxUnavailable: 1
bloomCompactor:
replicas: 0
bloomGateway:
replicas: 0
# Enable minio for storage
minio:
enabled: true
# Zero out replica counts of other deployment modes
backend:
replicas: 0
read:
replicas: 0
write:
replicas: 0
singleBinary:
replicas: 0
loki:
schemaConfig:
configs:
- from: 2024-04-01
store: tsdb
object_store: s3
schema: v13
index:
prefix: loki_index_
period: 24h
ingester:
chunk_encoding: snappy
tracing:
enabled: true
querier:
# Default is 4, if you have enough memory and CPU you can increase, reduce if OOMing
max_concurrent: 4
#gateway:
# ingress:
# enabled: true
# hosts:
# - host: FIXME
# paths:
# - path: /
# pathType: Prefix
deploymentMode: Distributed
ingester:
replicas: 3
querier:
replicas: 3
maxUnavailable: 2
queryFrontend:
replicas: 2
maxUnavailable: 1
queryScheduler:
replicas: 2
distributor:
replicas: 3
maxUnavailable: 2
compactor:
replicas: 1
indexGateway:
replicas: 2
maxUnavailable: 1
bloomCompactor:
replicas: 0
bloomGateway:
replicas: 0
# Enable minio for storage
minio:
enabled: true
# Zero out replica counts of other deployment modes
backend:
replicas: 0
read:
replicas: 0
write:
replicas: 0
singleBinary:
replicas: 0
```

4. Install or upgrade the Loki deployment.
Expand Down
Loading

0 comments on commit 5c78f90

Please sign in to comment.