-
Notifications
You must be signed in to change notification settings - Fork 9.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add out-of-order sample support to the TSDB #11075
Add out-of-order sample support to the TSDB #11075
Conversation
51ad64d
to
595485f
Compare
ebd6ca7
to
f1d5706
Compare
Having some trouble making windows tests pass, will focus on this soon. Need to address other work first. |
7993db6
to
faa9001
Compare
08506fb
to
8daef74
Compare
This call was added by PR prometheus#11075 merged before prometheus#11318 which changed all similar calls to `sort.Sort` into a faster one. Signed-off-by: Bryan Boreham <[email protected]>
This call was added by PR #11075 merged before #11318 which changed all similar calls to `sort.Sort` into a faster one. Signed-off-by: Bryan Boreham <[email protected]> Signed-off-by: Bryan Boreham <[email protected]>
Can anyone answer what is the target version of this new feature? |
It is in 2.39.x |
@jesusvazquez one question: in Lines 1453 to 1457 in 92d6980
|
Yes #11730 |
Hi . A couple of questions on this -
|
Yes its implemented, a sample is too old if its older than the window you configure. Else its ingested and its just out of order.
You can enable it doing this in your config file:
|
Is there a max value for out_of_order_time_window ? |
No, there is no limit. I have only experience running this in production with a max window of 1 month. More should be feasible. No big impact on resources expected. |
Thank you for the info! |
how does it work? we are also facing Out of order issue while scrapping eks metrics.. and after enabling the out of order we are getting this error.. ts=2024-03-14T09:32:59.364Z caller=dedupe.go:112 component=remote level=error remote_name=8843e5 url=http://10.0.36.190:9090/api/v1/write msg="non-recoverable error" count=2000 exemplarCount=0 err="server returned HTTP status 400 Bad Request: too old sample"
How does the out of order paramater works , because we are also facing the same issue.. |
I'm helping @syedishaq13129 on the CNCF slack. We think he might need to bump his out of order window to solve the error he is getting. |
Closes #8535
This implementation is based on this design doc:
https://docs.google.com/document/d/1Kppm7qL9C-BJB1j6yb6-9ObG3AbdZnFUBYPNNWwDBYM/edit?usp=sharing
This commit adds support to accept out-of-order ("OOO") sample into the TSDB
up to a configurable time allowance. If OOO is enabled, overlapping queries
are automatically enabled.