-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiple retentions in one file [BUG] #329
Comments
I have a similar problem. Looking at your In my case, I have this in
And I can only get values (or graphs) as far as 1 day back. But this is where it gets interesting. I have two different sensors, one that sends data every 1 hour and another one that sends data every 15 minutes. For the first sensor, all values beyond 1 day come back as I believe there's something wrong with the way data is aggregated for the lower resolution data sets. There's something about that in the documentation, but it only says that the "average" method is the default, it doesn't say how you can configure a different method. I haven't looked at the code, but I think new values are not fed directly into the lower resolution archives (like the documentation says), and instead they are generated by applying the aggregation function over the higher resolution values (which makes more sense if you think about it). And the problem we're seeing is probably related to the fact that the higher resolution values are "sparse" i.e. most of them are |
There is no better documentation than the source code 😄 After looking at the For example, in my case the retention is configured as Next, I looked at |
If I have multiple different retentions (archives) in one file I can't get them to show together in one graph.
Is this normal or am I doing something wrong? Whisper-fetch also displays them wrong if I set a "--from"
Steps to reproduce the behavior:
whisper-resize $file 60s:5d 5m:30d 15m:365d 1h:5y
For example if I choose the retention periods above and I set a "--from=" with a timestamp from 7 days ago I only get values up until 5 days ago (the 5 minute-values) after that the graph just "stops" and whisper-fetch only shows "None"
But If I choose a start time from 3 days ago I get the correct values.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: