grafana/loki

No documentation on lifecycle policies for retention in object stores

已关闭

#15,528 创建于 2024年12月20日

 (3 条评论) (1 个反应) (0 位负责人)Go (3,997 个派生)batch import
component/storagehelp wantedtype/docs

仓库指标

星标
 (28,187 个星标)
PR 合并指标
 (平均合并 5天 20小时) (30 天内合并 522 个 PR)

描述

The documentation about retention states that logs are only deleted if a lifecycle storage policy on the store deletes it, however, the documentation doesn't specify what that policy should look like.

For instance:

  1. What is the significance of the loki_cluster_seed.json file at the root of the container? (A blanket delete after x days policy would automatically delete this as well)
  2. Are files in /index meant to be deleted, or should it just be limited to /<orgId> or /fake

贡献者指南