feat: a bit of cleanup & keeping 15 days of metrics/logs

This commit is contained in:
Xavier Morel
2025-11-16 00:20:05 +01:00
parent 6578f1a626
commit 7f8f83271a
7 changed files with 41 additions and 90 deletions

View File

@@ -29,9 +29,13 @@
kvstore.store = "inmemory";
};
replication_factor = 1;
path_prefix = "/tmp/loki";
path_prefix = "/var/lib/loki";
};
storage_config.filesystem.directory = "/var/lib/loki/chunks";
table_manager = {
retention_deletes_enabled = true;
retention_period = config.globals.retention;
};
storage_config.filesystem.directory = "/tmp/loki/chunks";
};
};
}