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.