loki: added log retention to 90 days

This commit is contained in:
Tigor Hutasuhut 2024-09-11 21:50:22 +07:00
parent 182510bdf8
commit 8cd7a8eb2a

View file

@ -78,6 +78,16 @@ in
];
};
compactor = {
working_directory = "${dataDir}/retention";
retention_enabled = true;
delete_request_store = "filesystem";
};
limits_config = {
retention_period = "90d";
};
storage_config = {
filesystem = {
directory = "${dataDir}/chunks";