Files
loki/pkg/runtime
Dylan Guedes 7d67b6306f Loki: Implement initial phase of limited_log_push_errors (#9556)
**What this PR does / why we need it**:
Adds an initial implementation of `limited_log_push_errors`.
This initial implementation encompass:
- Runtime per-tenant configuration
- Simple per-tenant rate-limiting based on error message size

Notable features that will be added in future phases:
- Instead of a single error with the final string, give to the manager
the list of all entries
- Once it supports per-entry error, make the rate-limiting separated
per-reason
- Hash the entry error and avoid repeating errors by caching seen errors
in memory
2023-05-31 18:43:37 -03:00
..