Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upSamples delivered out of order with remote write in Prometheus 2.6.0 #5080
Comments
This comment has been minimized.
This comment has been minimized.
|
*2.6.0 :) |
tomwilkie
changed the title
Samples delivered out of order with remote write in Prometheus 2.7.0
Samples delivered out of order with remote write in Prometheus 2.6.0
Jan 8, 2019
tomwilkie
added
kind/bug
priority/P0
component/remote storage
labels
Jan 8, 2019
This comment has been minimized.
This comment has been minimized.
|
I've spent last hour trying to figure this out and I'm completely stuck... |
This comment has been minimized.
This comment has been minimized.
|
Now multiple enqueues can happen in parallel, whereas previously they were serialised? |
This comment has been minimized.
This comment has been minimized.
|
It assumes that all the samples for a given timeseries are The queue is serviced by a single goroutine, which guarantees samples on the queue are delivered in order. |
This comment has been minimized.
This comment has been minimized.
|
Yeah, the code looks okay. Might you have multiple targets ingesting the same time series? I'm wondering if #4926 might be related. |
This comment has been minimized.
This comment has been minimized.
Don't know yet, my prometheus is pretty unstable. Will get back to you. |
This comment has been minimized.
This comment has been minimized.
|
@tomwilkie Any update? |
This comment has been minimized.
This comment has been minimized.
|
Fraid not; it looks like we might have some OOO samples pre 2.6 that I can't explain, and that time timing changed with the locking changes made them more visible. But not sure. |
This comment has been minimized.
This comment has been minimized.
|
Its looks like this was caused by our config: multiple exporters in a single pod all got the same target labels, and all exposed the |
tomwilkie commentedJan 8, 2019
•
edited
Just updated to prometheus v2.6.0 and getting a lot of out-of-order samples.
When I revert #4772 they go away...