grafana / loki

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

feat(blooms): Add task timining and sizing metrics (backport k229) #15033

Closed loki-gh-app[bot] closed 1 day ago

loki-gh-app[bot] commented 1 day ago

Backport 79cccfd50bddc150b8f1e89f66774a117c91f06c from #15032


What this PR does / why we need it:

This PR adds observability around the time it takes tasks to complete as well as metrics for the amount of data the tasks will process.

We also refactor the planning strategy factory from a function into a struct. This is needed so we don't need to recreate the metrics.

Special notes for your reviewer:

Checklist