daily data point retentions issue

Asked by Yuri

I need to have one data point per day.
Here is the settings in storage-schemas.conf for this:

[daily]
priority = 100
pattern = ^stats\.aggregated\.daily\.
retentions = 86400:1825

But what I get in the result is the only point like this:
stats.aggregated.daily.as_slurper.fast.input.r.all,1318723200,1318809600,86400|2308980.894
(got with rawData=true)

Even when one day has passed, the data will look the same. There will still be the only one point, but with different timestamps (for the next day).

The retentions with smaller data points (1 minute data points) works well.

Is there some restrictions for retentions with data points in 86400 seconds?

Thank you.

Question information

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

What time range did you use in the request that returned that data? If you don't explicitly specify a time range the default is the past 24 hours so having one datapoint would make sense. If you requested longer than that it is possible that your database files have 1-day precision but only for 1-day duration, the storage-schemas.conf settings only matter when the database file is created (ie. the first time a datapoint is received for the metric). You can verify what retention configure the database file has by running:

/opt/graphite/bin/whisper-info.py /opt/graphite/storage/whisper/stats/aggregated/daily/as_slurper/fast/input/r/all.wsp

Revision history for this message
Yuri (y-snaky) said :
#2

Ah, my bad. I was really watching 24 hour range.
I'm sorry for a stupid question :)
Thank you.