grafana/pyroscope
Add an instance-level inflight bytes limit to the distributor
Offen
#5.437 geöffnet am 28.07.2026
good first issue
Repository-Metriken
- Stars
- (9.041 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 5T 7h) (62 gemergte PRs in 30 T)
Beschreibung
An application-level flag such as -distributor.max-inflight-bytes can protect distributors from being OOMKilled when segment writers experience slowdowns or outages.
Prior art:
- Mimir:
-distributor.instance-limits.max-inflight-push-requests(-bytes), enforced at distributor.go#L1443 - Loki:
-distributor.max-inflight-bytes, enforced at distributor.go#L661-L669
Should be opt-in and apply for both the regular (sync) and the async write path.