loki: added log retention to 90 days
This commit is contained in:
parent
182510bdf8
commit
8cd7a8eb2a
|
@ -78,6 +78,16 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
compactor = {
|
||||||
|
working_directory = "${dataDir}/retention";
|
||||||
|
retention_enabled = true;
|
||||||
|
delete_request_store = "filesystem";
|
||||||
|
};
|
||||||
|
|
||||||
|
limits_config = {
|
||||||
|
retention_period = "90d";
|
||||||
|
};
|
||||||
|
|
||||||
storage_config = {
|
storage_config = {
|
||||||
filesystem = {
|
filesystem = {
|
||||||
directory = "${dataDir}/chunks";
|
directory = "${dataDir}/chunks";
|
||||||
|
|
Loading…
Reference in a new issue