grafana/pyroscope

Add an instance-level inflight bytes limit to the distributor

Open

#5,437 opened on Jul 28, 2026

 (1 comment) (0 reactions) (0 assignees)C (528 forks)batch import
good first issue

Repository metrics

Stars
 (9,041 stars)
PR merge metrics
 (Avg merge 5d 7h) (62 merged PRs in 30d)

Description

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:

Should be opt-in and apply for both the regular (sync) and the async write path.

Contributor guide