seems that xFilesFactor in conf/storage-aggregation.conf is not working

Asked by mmLiu

my retention setting is:
[stats]
priority = 110
pattern = .*
retentions = 1m:7d,1h:31d,1d:5y

and I manually create conf/storage-aggregation.conf:
[test-retention]
pattern = .*
xFilesFactor = 0.001
aggregationMethod = average

that makes data in [0,31]days show on graphite,while when I turned day range greater than 31(say 32),the graph turns blank.

why is that? In my understanding, 1m/1h = 1/60 = 0.017 > xFilesFactor = 0.001 and 1h/1d = 1/24 = 0.00069 > xFilesFactor,so data in 5 years should all can be displayed.

should I stop apache2 to make the changes come to effect?(I did so ,nothing happened)

Question information

Language:
English Edit question
Status:
Answered
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michael Leinartas (mleinartas) said :
#1

storage-aggregation.conf works similarly to storage-schemas.conf where it's only used when new metrics are created (since that's when these parameters are set). You can change the xFilesFactor of existing metrics with whisper-resize.py - just pass the same retention you already have. Unfortunately that data from 30 days out is already gone - the aggregation for the longer retentions happens at when the original points are stored so will be influenced by the xFilesFactor and aggregationMethod parameters existing at that point in time.

Can you help with this problem?

Provide an answer of your own, or ask mmLiu for more information if necessary.

To post a message you must log in.