You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Monitor and protect distributor from OOMKilled due to too many in progress requests (#5917)
* Added metric to keep track of how many in progress request from one distributor to one ingester. Created inflight request limit per ingester client.
Signed-off-by: Alex Le <leqiyue@amazon.com>
* moved throttling logic to closableHealthAndIngesterClient
Signed-off-by: Alex Le <leqiyue@amazon.com>
* update changelog and config doc and reverted metric cortex_distributor_inflight_push_requests
Signed-off-by: Alex Le <leqiyue@amazon.com>
* add unit test
Signed-off-by: Alex Le <leqiyue@amazon.com>
* rename
Signed-off-by: Alex Le <leqiyue@amazon.com>
---------
Signed-off-by: Alex Le <leqiyue@amazon.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
*[ENHANCEMENT] Query Frontend/Querier: Added store gateway postings touched count and touched size in Querier stats and log in Query Frontend. #5892
5
5
*[ENHANCEMENT] Query Frontend/Querier: Returns `warnings` on prometheus query responses. #5916
6
6
*[ENHANCEMENT] Ingester: Allowing to configure `-blocks-storage.tsdb.head-compaction-interval` flag up to 30 min and add a jitter on the first head compaction. #5919
7
+
*[ENHANCEMENT] Distributor: Added `max_inflight_push_requests` config to ingester client to protect distributor from OOMKilled. #5917
7
8
*[CHANGE] Upgrade Dockerfile Node version from 14x to 18x. #5906
8
9
*[BUGFIX] Configsdb: Fix endline issue in db password. #5920
f.Int64Var(&cfg.MaxInflightPushRequests, "ingester.client.max-inflight-push-requests", 0, "Max inflight push requests that this ingester client can handle. This limit is per-ingester-client. Additional requests will be rejected. 0 = unlimited.")
0 commit comments