Update loki config to meet criteria for latest version

This commit is contained in:
Alex D. 2024-12-09 10:44:07 +00:00
parent 0a72e8fd61
commit c081f67844
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
2 changed files with 7 additions and 11 deletions

View File

@ -3,8 +3,7 @@
. ../APKBUILD-config.template
pkgver=2022.03.08.01
pkgrel=0
pkgrel=1
source="
config.yaml
"
@ -15,5 +14,5 @@ package() {
}
sha512sums="
ddfdb3a89e0dccc93edbd2bc8f6aa89c2578833299234aec99ebf9457fde7ac03e719166de1033d05c36cebeaec371021a7fd7d347af9773a9fb13339e4be918 config.yaml
f241860555ac55626fc456cc45c6acbe33ff601def4574bcf416b357f8159e452a3a43e384b5c228a7cc848949ffb40e12b48b51ea2e8e22ccaafa0aa88c9000 config.yaml
"

View File

@ -6,6 +6,11 @@ server:
register_instrumentation: true
common:
ring:
instance_addr: 127.0.0.1
kvstore:
store: inmemory
replication_factor: 1
path_prefix: /var/lib/loki
compactor:
@ -14,13 +19,6 @@ compactor:
schema_config:
configs:
- from: 2021-12-16
store: boltdb
object_store: filesystem
schema: v11
index:
prefix: index_
period: 168h
- from: 2024-10-07
store: tsdb
object_store: filesystem
@ -34,7 +32,6 @@ storage_config:
directory: /var/lib/loki/chunks
limits_config:
enforce_metric_name: false
reject_old_samples: true
reject_old_samples_max_age: 24h
max_query_series: 10000