Update loki/rootfs/etc/loki/default-config.yaml
This commit is contained in:
parent
55b501ccd2
commit
85425c19de
@ -1,45 +1,33 @@
|
||||
---
|
||||
|
||||
# This is a complete configuration to deploy Loki backed by the filesystem.
|
||||
# The index will be shipped to the storage via tsdb-shipper.
|
||||
|
||||
auth_enabled: false
|
||||
|
||||
server: {}
|
||||
server:
|
||||
http_listen_port: 3100
|
||||
|
||||
ingester:
|
||||
lifecycler:
|
||||
address: 127.0.0.1
|
||||
common:
|
||||
ring:
|
||||
instance_addr: 127.0.0.1
|
||||
kvstore:
|
||||
store: inmemory
|
||||
replication_factor: 1
|
||||
final_sleep: 0s
|
||||
chunk_idle_period: 1h
|
||||
max_chunk_age: 1h
|
||||
chunk_target_size: 1048576
|
||||
chunk_retain_period: 30s
|
||||
wal:
|
||||
dir: /data/loki/wal
|
||||
path_prefix: /tmp/loki
|
||||
|
||||
schema_config:
|
||||
configs:
|
||||
- from: 2020-11-09
|
||||
store: tsdb # Changed to tsdb
|
||||
- from: 2020-05-15
|
||||
store: tsdb
|
||||
object_store: filesystem
|
||||
schema: v13 # Changed to v13
|
||||
schema: v13
|
||||
index:
|
||||
prefix: index_
|
||||
period: 24h
|
||||
|
||||
storage_config:
|
||||
tsdb_shipper:
|
||||
active_index_directory: /data/loki/tsdb-active # Set this path
|
||||
cache_location: /data/loki/tsdb-cache # Set this path
|
||||
filesystem:
|
||||
directory: /data/loki/chunks
|
||||
|
||||
compactor:
|
||||
working_directory: /data/loki/boltdb-shipper-compactor
|
||||
retention_enabled: true
|
||||
delete_request_store: filesystem # Added this line
|
||||
|
||||
directory: /tmp/loki/chunks
|
||||
limits_config:
|
||||
reject_old_samples: true
|
||||
reject_old_samples_max_age: 168h
|
||||
|
Loading…
x
Reference in New Issue
Block a user