Question #253467 on Graphite changed:
https://answers.launchpad.net/graphite/+question/253467
Lance Lloyd gave more information on the question:
I dug in further and found the function mentioned in the github article.
I updated the end time in the get_intervals function of the
WhisperReader class to be time.time() instead of the last modified time
of the whisper file. This does seem to work, not sure if there's a
downside to doing this though.
class WhisperReader(object):
def get_intervals(self):
start = time.time() - whisper.info(self.fs_path)['maxRetention']
#end = max( os.stat(self.fs_path).st_mtime, start )
end = time.time()
return IntervalSet( [Interval(start, end)] )
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.
_______________________________________________
Mailing list: https://launchpad.net/~graphite-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~graphite-dev
More help : https://help.launchpad.net/ListHelp