Multi archives level issue

Asked by Tomer Peled

Hi,

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.

Is there a way to resolve this?

Thanks,
Tomer

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
Tomer Peled
Solved:
Last query:
Last reply:
Revision history for this message
Tomer Peled (tomerpeled) said :
#1

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?

Revision history for this message
Tomer Peled (tomerpeled) said :
#2

I've found the solution for this: just use the minXStep propery in the render API.
For more information see my answer over here:
http://stackoverflow.com/questions/15404618/graphite-multi-archives-level-retrieval-issue