I've configured my files with the following retentions settings:
retentions = 10s:7d,1m:30d,5m:1y
And this indeed works, however my problem is that the web-app decides to get the data from the lower archive instead of the higher. For example: Since I have a resolution of 10s per 1 week I expect that if I'm looking on less than 1 week (in my case I was just looking on data for 1 day) then the data will be retrieved from the first level (which is accurate to 10 sec), however the web-app pulls the data from the next level and therefore I'm getting av average data.
I've found this in the documentation:
"When data is retrieved (scoped by a time range), the first archive which can satisfy the entire time period is used. If the time period overlaps an archive boundary, the lower-resolution archive will be used. This allows for a simpler behavior while retrieving data as the data’s resolution is consistent through an entire returned series."
How can I make graphite get the data from the highest resolution archive? My intent is to have high resolution for 1 week (10 seconds) and the next level is 30 days for 1 minute resolution.
Is there a way to achieve this or maybe to re-configure my storage schema?