cortex_ingester_inflight_push_requests for ingesters doesn't show the correct value of the metric. #4664
Replies: 3 comments
-
Whilst I agree that it should report the correct value, the gap between your 60,000 limit and the 1 or 2 shown in the metric at the time of the error message is so large that I have to suspect something else is going on. What does the |
Beta Was this translation helpful? Give feedback.
-
I checked that for the same ingester the value is 1900 for the moment, which seems quiet high to me, what do you think should be the solution to this @bboreham ? |
Beta Was this translation helpful? Give feedback.
-
@bboreham for a ingester ingesting 40k samples per second for example, is there a Math which we can use to derive the value of ingester.instance-limits.max-inflight-push-requests to set, I am asking that because I think 60k limit for the value might be overwhelming the ingester itself. It will be good to know the Math to tune this parameter? |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Ingesters keep showing the following error err-mimir-ingester-max-inflight-push-requests in the logs, When i check the cortex_ingester_inflight_push_requests metric for that particular ingester, The value of ingester.instance-limits.max-inflight-push-requests shows up to never hitting the limit which we have set to 60k per ingester. We are not able to get the metric correctly.
To Reproduce
Steps to reproduce the behavior:
the write request has been rejected because the ingester exceeded the allowed number of inflight push requests (err-mimir-ingester-max-inflight-push-requests). To adjust the related limit, configure -ingester.instance-limits.max-inflight-push-requests, or contact your service administrator.
cortex_ingester_inflight_push_requests
for the same ingester where you see the error.Expected behavior
We should get the right metric so we can see how many inflight push requests our ingesters are going through so we can properly scale it to the right demands.
Environment
Additional Context
NOTE: Please note we have configured the ingester.instance-limits.max-inflight-push-requests property to 60k per ingester
Beta Was this translation helpful? Give feedback.
All reactions