From 87d51bd8e7475cda0855f0a68a0b44c94165358a Mon Sep 17 00:00:00 2001 From: Susana Ferreira Date: Tue, 16 Aug 2022 15:55:07 +0200 Subject: [PATCH] Update documentation deletion_mode and allow_deleted configuration values (#6921) --- docs/sources/configuration/_index.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/docs/sources/configuration/_index.md b/docs/sources/configuration/_index.md index 7908b82ed9..006f100847 100644 --- a/docs/sources/configuration/_index.md +++ b/docs/sources/configuration/_index.md @@ -2124,10 +2124,8 @@ compacts index shards to more performant forms. # CLI flag: -boltdb.shipper.compactor.max-compaction-parallelism [max_compaction_parallelism: | default = 1] -# Deletion mode. -# Can be one of "disabled", "filter-only", or "filter-and-delete". -# When set to "filter-only" or "filter-and-delete", and if -# retention_enabled is true, then the log entry deletion API endpoints are available. +# Deprecated: Deletion mode. +# Use deletion_mode per tenant configuration instead. # CLI flag: -boltdb.shipper.compactor.deletion-mode [deletion_mode: | default = "disabled"] @@ -2397,6 +2395,17 @@ The `limits_config` block configures global and per-tenant limits in Loki. # This also determines how cache keys are chosen when result caching is enabled # CLI flag: -querier.split-queries-by-interval [split_queries_by_interval: | default = 30m] + +# Deprecated: Use deletion_mode per tenant configuration instead. +# CLI flag: -compactor.allow_deletes +[allow_deletes: | default = false] + +# Deletion mode. +# Can be one of "disabled", "filter-only", or "filter-and-delete". +# When set to "filter-only" or "filter-and-delete", and if +# retention_enabled is true, then the log entry deletion API endpoints are available. +# CLI flag: -boltdb.shipper.compactor.deletion-mode +[deletion_mode: | default = "filter-and-delete"] ``` ## sigv4_config