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

chore: [k220] feat: add backoff mechanism to the retention process #14189

Closed loki-gh-app[bot] closed 2 months ago

loki-gh-app[bot] commented 2 months ago

Backport 31368806a9c5e0ff6c43045e008861f26ed61af3 from #14182


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.