grafana/loki

No documentation on lifecycle policies for retention in object stores

Chiusa

#15.528 aperta il 20 dic 2024

 (3 commenti) (1 reazione) (0 assegnatari)Go (3997 fork)batch import
component/storagehelp wantedtype/docs

Metriche repository

Star
 (28.187 stelle)
Metriche merge PR
 (Merge medio 5g 20h) (522 PR mergiate in 30 g)

Descrizione

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

Guida contributor