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 #14665

Closed salvacorts closed 3 weeks ago

salvacorts commented 3 weeks ago

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