Remove boltdb index and use filesystem, tweak loki compactor and use defaults for the ingester
This commit is contained in:
parent
ce5860369d
commit
1a0d84ca4b
@ -15,5 +15,5 @@ package() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
3a01abcaf0f28017d907a691ecd719563d51019d5d0715ea2835d486b3e000a276e3651e6d974c3b4afc7d18e3ed953b0ca9b9b9571a6072d73cae407da8d717 config.yaml
|
||||
ddfdb3a89e0dccc93edbd2bc8f6aa89c2578833299234aec99ebf9457fde7ac03e719166de1033d05c36cebeaec371021a7fd7d347af9773a9fb13339e4be918 config.yaml
|
||||
"
|
||||
|
@ -5,16 +5,12 @@ server:
|
||||
http_listen_port: 7553
|
||||
register_instrumentation: true
|
||||
|
||||
ingester:
|
||||
lifecycler:
|
||||
address: 127.0.0.1
|
||||
ring:
|
||||
kvstore:
|
||||
store: inmemory
|
||||
replication_factor: 1
|
||||
final_sleep: 0s
|
||||
chunk_idle_period: 5m
|
||||
chunk_retain_period: 30s
|
||||
common:
|
||||
path_prefix: /var/lib/loki
|
||||
|
||||
compactor:
|
||||
working_directory: /var/lib/loki/compactor
|
||||
compaction_interval: 1h
|
||||
|
||||
schema_config:
|
||||
configs:
|
||||
@ -25,15 +21,20 @@ schema_config:
|
||||
index:
|
||||
prefix: index_
|
||||
period: 168h
|
||||
- from: 2024-10-07
|
||||
store: tsdb
|
||||
object_store: filesystem
|
||||
schema: v13
|
||||
index:
|
||||
prefix: index_
|
||||
period: 24h
|
||||
|
||||
storage_config:
|
||||
boltdb:
|
||||
directory: /var/lib/loki/index
|
||||
filesystem:
|
||||
directory: /var/lib/loki/chunks
|
||||
|
||||
limits_config:
|
||||
enforce_metric_name: false
|
||||
reject_old_samples: true
|
||||
reject_old_samples_max_age: 168h
|
||||
reject_old_samples_max_age: 24h
|
||||
max_query_series: 10000
|
||||
|
Loading…
Reference in New Issue
Block a user