canonical / loki-k8s-operator

This charmed operator automates the operational procedures of ryunning Grafana Loki, an open-source logs backend, in monolithic mode
https://charmhub.io/loki-k8s
Apache License 2.0
10 stars 16 forks source link

Expose retention tuning knobs #278

Closed aieri closed 5 months ago

aieri commented 1 year ago

Enhancement Proposal

Clouds come in various sizes, and customer requirements can vary wildly. If Loki is to become the default centralized logging solution for all charmed deployments I feel it would be important to allow operators to control their retention period and log storage consumption.

simskij commented 1 year ago

As mentioned in conversations elsewhere, size-based retention is currently not a thing in Loki. That addition to upstream is tracked here.

As for time-based retention, surfacing these would make sense, even thought it would be somewhat of a nightmare for the administrator to calculate with any confidence.