Reduce graphite's stats retention policy

In order to make more efficient use of disk space, let's change the
default retention policy. Being able to react to changes with a
10-seccond precision less likely to be usefule as the data gets older,
and our historic data does not give much insight beyond a 1-hour
precision.

This change does not effect already created metrics, changing that would
require a manual run of whisper-resize.py on the data directories. This
only effects new metrics.

Old retention:
  10-second precision for 6 hours
  60-second precision for 7 days
  10-minute precision for 5 years

New retention
  10-second precision for 8 hours
  60-second precision for 7 days
  1-hour precision for 1 year
  1-day precision for 5 years

Change-Id: I08d73d092fc73c271e9092f551f38f395e006ca4
This commit is contained in:
K Jonathan Harker 2014-08-18 14:16:22 -07:00
parent 0055a0bbc5
commit b1fb729bf1
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ retentions = 60:90d
[stats]
pattern = ^stats.*
retentions = 10:2160,60:10080,600:262974
retentions = 10s:8h,60s:7d,1h:1y,1d:5y
[default]
pattern = .*