grafana / loki

Like Prometheus, but for logs.
https://grafana.com/loki
GNU Affero General Public License v3.0
23.96k stars 3.46k forks source link

feat: add backoff mechanism to the retention process #14182

Closed vlad-diachenko closed 2 months ago

vlad-diachenko commented 2 months ago

What this PR does / why we need it: added backoff mechanism to slow down and retry delete requests on retention. It should help avoid the case when the cloud provider rate limits the compactor due to the huge number of requests fired to delete the chunks.