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 upEmpty result set when querying with high step values on timestamped data. #1937
Comments
mar-v-in
changed the title
empty result set
Empty result set when querying with high step values on timestamped data.
Aug 31, 2016
This comment has been minimized.
This comment has been minimized.
|
You're running into staleness issues. When you make a request for $h:30 the last data point is 8 minutes away, so not returned. You probably want |
brian-brazil
added
the
kind/question
label
Aug 31, 2016
This comment has been minimized.
This comment has been minimized.
|
Indeed, that did the job. |
mar-v-in
closed this
Aug 31, 2016
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 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. |
lock
bot
locked and limited conversation to collaborators
Mar 24, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
mar-v-in commentedAug 31, 2016
•
edited
What did you do?
prometheus -storage.local.retention 8640h) and a config that scrapes fromlocalhost:8018.What did you expect to see?
http://127.0.0.1:9090/api/v1/query_range?query=testval&start=1470441600&end=1471046400&step=300-> 139 valueshttp://127.0.0.1:9090/api/v1/query_range?query=testval&start=1470441600&end=1471046400&step=600-> ~70 valuesWhat did you see instead? Under which circumstances?
http://127.0.0.1:9090/api/v1/query_range?query=testval&start=1470441600&end=1471046400&step=300-> 139 valueshttp://127.0.0.1:9090/api/v1/query_range?query=testval&start=1470441600&end=1471046400&step=600-> no valuesEnvironment
System information:
Linux 4.6.6-301.pf.skylake.fc24.x86_64 x86_64
Prometheus version:
prometheus, version 1.0.2 (branch: master, revision: d9b4079)
build user: root@60e6cc1b2922
build date: 20160824-11:10:31
go version: go1.6.2
Prometheus configuration file:
Note
I don't know if what I do is actually intended to work, but the results are somewhat wrong anyway.