-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Pete Wall <pete.wall@grafana.com>
- Loading branch information
Showing
1 changed file
with
17 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,92 +1,40 @@ | ||
--- | ||
deploymentMode: SingleBinary | ||
Check failure on line 1 in .configs/loki.yaml GitHub Actions / runner / yamllint
|
||
loki: | ||
commonConfig: | ||
replication_factor: 1 | ||
storage: | ||
type: 'filesystem' | ||
schemaConfig: | ||
configs: | ||
- from: 2024-04-01 | ||
- from: "2024-01-01" | ||
store: tsdb | ||
schema: v13 | ||
index: | ||
prefix: loki_index_ | ||
period: 24h | ||
object_store: filesystem # we're storing on filesystem so there's no real persistence here. | ||
ingester: | ||
chunk_encoding: snappy | ||
querier: | ||
# Default is 4, if you have enough memory and CPU you can increase, reduce if OOMing | ||
max_concurrent: 2 | ||
|
||
test: | ||
enabled: false | ||
|
||
lokiCanary: | ||
enabled: false | ||
|
||
gateway: | ||
basicAuth: | ||
enabled: true | ||
username: loki | ||
password: lokipassword | ||
service: | ||
port: 8080 | ||
|
||
deploymentMode: SingleBinary | ||
schema: v13 | ||
singleBinary: | ||
replicas: 1 | ||
# resources: | ||
# limits: | ||
# cpu: 3 | ||
# memory: 4Gi | ||
# requests: | ||
# cpu: 2 | ||
# memory: 2Gi | ||
# extraEnv: | ||
# # Keep a little bit lower than memory limits | ||
# - name: GOMEMLIMIT | ||
# value: 3750MiB | ||
|
||
|
||
# Zero out replica counts of other deployment modes | ||
backend: | ||
replicas: 0 | ||
read: | ||
replicas: 0 | ||
backend: | ||
replicas: 0 | ||
write: | ||
replicas: 0 | ||
|
||
ingester: | ||
replicas: 0 | ||
querier: | ||
replicas: 0 | ||
queryFrontend: | ||
replicas: 0 | ||
queryScheduler: | ||
replicas: 0 | ||
distributor: | ||
replicas: 0 | ||
compactor: | ||
replicas: 0 | ||
indexGateway: | ||
replicas: 0 | ||
bloomCompactor: | ||
replicas: 0 | ||
bloomGateway: | ||
replicas: 0 | ||
chunksCache: | ||
enabled: false | ||
resultsCache: | ||
enabled: false | ||
chunksCache: | ||
lokiCanary: | ||
enabled: false | ||
minio: | ||
test: | ||
enabled: false | ||
|
||
monitoring: | ||
selfMonitoring: | ||
enabled: false | ||
grafanaAgent: | ||
installOperator: false | ||
serviceMonitor: | ||
gateway: | ||
basicAuth: | ||
enabled: true | ||
# This actually isn't recommended by Loki, the default is 15s for a reason, but we don't want to upset | ||
# our DPM test calculations. | ||
interval: 1m | ||
username: loki | ||
password: lokipassword | ||
service: | ||
port: 8080 |