Skip to content

Commit

Permalink
fix_loki_config
Browse files Browse the repository at this point in the history
  • Loading branch information
gsanchietti committed Feb 29, 2024
1 parent 8ecce95 commit ea2db85
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions imageroot/etc/loki.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
auth_enabled: false
target: "all"

server:
http_listen_port: ${LOKI_HTTP_PORT}
Expand All @@ -10,14 +11,24 @@ server:
common:
instance_addr: 127.0.0.1
path_prefix: /loki
storage:
filesystem:
chunks_directory: /loki/chunks
rules_directory: /loki/rules
replication_factor: 1
ring:
kvstore:
store: inmemory
storage:
filesystem:
chunks_directory: /loki/chunks
rules_directory: /loki/rules

schema_config:
configs:
- from: 2023-10-10
store: tsdb
object_store: filesystem
schema: v12
index:
prefix: tsdb_index_
period: "24h"

query_range:
results_cache:
Expand All @@ -33,15 +44,5 @@ compactor:
working_directory: /loki/retention
compaction_interval: 10m
retention_enabled: true
retention_delete_delay: 5m
retention_delete_worker_count: 150

schema_config:
configs:
- from: 2020-10-24
store: boltdb-shipper
object_store: filesystem
schema: v11
index:
prefix: index_
period: 24h
retention_delete_delay: 1h
retention_delete_worker_count: 150

0 comments on commit ea2db85

Please sign in to comment.