fixed loki (boltdb -> tsdb)

This commit is contained in:
Ingolf Wagner 2024-05-29 23:36:43 +02:00
parent 2665f35441
commit 3714de0a16
Signed by: palo
GPG key ID: 76BF5F1928B9618B
2 changed files with 7 additions and 14 deletions

View file

@ -35,7 +35,7 @@
./telemetry/telegraf.nix
#./telemetry/opentelemetry-hass.nix
./telemetry/prometheus.nix
#./telemetry/loki.nix # todo enable this one again
./telemetry/loki.nix # todo enable this one again
./sync-rbackup.nix
./sync-syncoid.nix

View file

@ -61,15 +61,14 @@
max_chunk_age = "1h";
chunk_target_size = 999999;
chunk_retain_period = "30s";
#max_transfer_retries = 0;
};
schema_config = {
configs = [{
from = "2022-06-06";
store = "boltdb-shipper";
from = "2024-05-28";
store = "tsdb";
object_store = "filesystem";
schema = "v11";
schema = "v13";
index = {
prefix = "index_";
period = "24h";
@ -78,11 +77,10 @@
};
storage_config = {
boltdb_shipper = {
active_index_directory = "/var/lib/loki/boltdb-shipper-active";
cache_location = "/var/lib/loki/boltdb-shipper-cache";
tsdb_shipper = {
active_index_directory = "/var/lib/loki/tsdb-shipper-active";
cache_location = "/var/lib/loki/tsdb-shipper-cache";
cache_ttl = "24h";
#shared_store = "filesystem";
};
filesystem = {
@ -95,10 +93,6 @@
reject_old_samples_max_age = "168h";
};
#chunk_store_config = {
# max_look_back_period = "0s";
#};
table_manager = {
retention_deletes_enabled = false;
retention_period = "0s";
@ -106,7 +100,6 @@
compactor = {
working_directory = "/var/lib/loki";
#shared_store = "filesystem";
compactor_ring = {
kvstore = {
store = "inmemory";