graphite-api not returning data with multiple retentions
Hello,
I'm really scratching my head here. We've been running a grafana/
Here is some config. Our storage schema looks like this, store on a 10 sec interval for 7 days, then 1 minute for 2 years.
[Web_Prod]
priority = 90
pattern = ^Production.
retentions = 10s:7d,1m:2y
I can verify this in the whisper files themselves, like this: -
/usr/local/
Meta data:RETURN)
aggregation method: average
max retention: 63072000
xFilesFactor: 0
Archive 0 info:
offset: 40
seconds per point: 10
points: 60480
retention: 604800
size: 725760
Archive 1 info:
offset: 725800
seconds per point: 60
points: 1051200
retention: 63072000
size: 12614400
I've noticed the problem only happens, when querying data older than 7 days i..e after it's been averaged to a 60 second interval. If I pick a time period older than 7 days, across a three minute interval, and look directly inside the whisper file, it all looks good: -
/usr/local/
1454230740 8.000000
1454230800 8.700000
1454230860 8.233333
However, if I query through graphite-api, it returns a 10 second interval (the wrong retention period, because I'm querying older than 7 days), and all items (even the ones that match the timestamps above) are null.
[{"target": "Production.
If I go for a wider time span, I start to get data back, but some are null and some are populated. What am I doing wrong?!
Thanks,
Glen.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Graphite Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: