grafana/loki

No documentation on lifecycle policies for retention in object stores

クローズ

#15,528 opened on 2024/12/20

 (3 件のコメント) (1 件のリアクション) (0 人の担当者)Go (3,997 件のフォーク)batch import
component/storagehelp wantedtype/docs

Repository metrics

Stars
 (28,187 個のスター)
PR merge metrics
 (平均マージ 5d 20h) (30d で 522 merged PRs)

説明

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

コントリビューターガイド