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 upLow-resolution querying may drop long time ranges #2776
Comments
fabxc
added
the
dev-2.0
label
May 26, 2017
This comment has been minimized.
This comment has been minimized.
|
I'm seeing this pretty consistently while @gouthamve cannot reproduce this. Would be good to know whether other's can. @mwitkow @grobie @beorn7 |
This comment has been minimized.
This comment has been minimized.
|
@fabxc I'm not sure what you mean by low resolution? A narrow time window? |
This comment has been minimized.
This comment has been minimized.
|
Just range queries with a coarse-ish step size. |
This comment has been minimized.
This comment has been minimized.
fabxc
added
the
kind/bug
label
May 30, 2017
This comment has been minimized.
This comment has been minimized.
|
Thanks for confirming – now to find out where it all went wrong. |
This comment has been minimized.
This comment has been minimized.
|
I can reproduce this locally now, some early findings:
And the worst part is, in 2) above, the break happened at 1800, and the block spans from 1315 to 2000, so this is definitely not due to block boundaries. Digging further. |
This comment has been minimized.
This comment has been minimized.
|
This is caused because of this commit by me. When we cut a chunk, we are not setting a mint and it is defaulting to 0. Later we are Seeking to the right chunk using the chunk's MinTime which makes us seek to wrong chunks and skip some chunks. Fixing the mintime when cutting a chunk should fix this IMO. |
This comment has been minimized.
This comment has been minimized.
|
Chunk's min timestamp is fixed as part of prometheus/tsdb#94. Will check whether I can still produce the issue. |
mwitkow
referenced this issue
Jun 8, 2017
Closed
Prom2: weird interplay of rate and recording rules on P2 #2754
This comment has been minimized.
This comment has been minimized.
|
Can't reproduce it from our side with today's dev-2.0 cut so |
fabxc
closed this
Jul 3, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |


fabxc commentedMay 26, 2017
When querying Prometheus with "low" resolution (default is often low enough), minute long time ranges are often not shown. Those seem to correlate exactly with blocks, but not confirmed yet.
Setting an explicit low query resolution makes the expected data reappear in the results.