graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #05086
[Question #253467]: "No Data" returned when requesting a time range newer than whisper file modification time
New question #253467 on Graphite:
https://answers.launchpad.net/graphite/+question/253467
Just installed 0.10.0, this is not a problem on our older 0.9.x instance. I have some metrics that intentionally don't write frequently, only when there's a problem. When requesting these metrics if the from time is after the modified time of the whisper file graphite returns "no data". I verified this by doing a touch of the whisper file which then returns the "None,None..." as I would expect to see.
Example:
graphite@graphite1:/data/graphite/storage/whisper/Test$ date
Fri Aug 22 10:06:18 UTC 2014
graphite@graphite1:/data/graphite/storage/whisper/Test$ ls -l
total 1232
-rw-r--r-- 1 graphite graphite 1261468 Aug 22 00:32 Duration.wsp
Point being the file is greater than 9 hours old
Request a range newer than the file:
curl -si "http://graphite/render?from=-9hours&until=now&target=Test.Duration&format=raw"
No data returned
Adjust the range to be older than the file modification time:
curl -si "http://graphite/render?from=-10hours&until=now&target=Test.Duration&format=raw"
Test.Duration,1408691700,1408727700,300|None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,......etc.
Then if I touch the whisper file
graphite@graphite1:/data/graphite/storage/whisper/Test$ touch Duration.wsp
Then make the same 9 hour request again:
curl -si "http://graphite/render?from=-9hours&until=now&target=Test.Duration&format=raw"
Test.Duration,1408695600,1408728000,300|None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,None,No.....etc.
Hope this is clear.
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.