purge logs and metrics after 4 weeks
This commit is contained in:
parent
9a5716f2df
commit
c31063ca56
1 changed files with 7 additions and 0 deletions
|
|
@ -61,6 +61,12 @@
|
||||||
per_stream_rate_limit = "32MB";
|
per_stream_rate_limit = "32MB";
|
||||||
per_stream_rate_limit_burst = "64MB";
|
per_stream_rate_limit_burst = "64MB";
|
||||||
max_query_series = 100000;
|
max_query_series = 100000;
|
||||||
|
retention_period = "672h"; # 28 days
|
||||||
|
};
|
||||||
|
compactor = {
|
||||||
|
retention_enabled = true;
|
||||||
|
working_directory = "/var/lib/loki/compactor";
|
||||||
|
delete_request_store = "filesystem";
|
||||||
};
|
};
|
||||||
schema_config = {
|
schema_config = {
|
||||||
configs = [
|
configs = [
|
||||||
|
|
@ -124,6 +130,7 @@
|
||||||
ingestion_rate = 100000;
|
ingestion_rate = 100000;
|
||||||
ingestion_burst_size = 200000;
|
ingestion_burst_size = 200000;
|
||||||
max_global_series_per_user = 0;
|
max_global_series_per_user = 0;
|
||||||
|
compactor_blocks_retention_period = "672h"; # 28 days
|
||||||
};
|
};
|
||||||
store_gateway = {
|
store_gateway = {
|
||||||
sharding_ring = {
|
sharding_ring = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue