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

fix: Add tenant limits as dependency to pattern ingester (backport k226) #14666

Closed loki-gh-app[bot] closed 3 weeks ago

loki-gh-app[bot] commented 3 weeks ago

Backport 31eea9042ada6650227eb281a36410ab521817a8 from #14665


What this PR does / why we need it:

The overrides module may not be initialized when we init the pattern ingester. As a result, we can see some panics when we try to get the list of json fields to mine patterns from.

This PR fixes the issue by adding the overrides dependency to the pattern ingester module.

Checklist