grafana/pyroscope
Add an instance-level inflight bytes limit to the distributor
開放
#5,437 建立於 2026年7月28日
good first issue
倉庫指標
- 星標
- (9,041 顆星)
- PR 合併指標
- (平均合併 5天 7小時) (30 天內合併 62 個 PR)
描述
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.