graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #02761
Re: [Question #197816]: Mass ReSize of Metrics
Question #197816 on Graphite changed:
https://answers.launchpad.net/graphite/+question/197816
Status: Open => Solved
bhardy confirmed that the question is solved:
Lesson learned, set your retention time as high as you can the first
time.
What worked best and fastest for me was multiple find commands from a
lower directory. So if all metrics were kept in /graphite I would run
three or four of the commands below. This of course is based on what
disk you are using. We are using SAN so I was able to knock it out
rather fast.
find /graphite/metric_dir1 -name \*.wsp -exec /usr/bin/whisper-resize.py {} 60:525600 --nobackup \;
find /graphite/metric_dir2 -name \*.wsp -exec /usr/bin/whisper-resize.py {} 60:525600 --nobackup \;
find /graphite/metric_dir3 -name \*.wsp -exec /usr/bin/whisper-resize.py {} 60:525600 --nobackup \;
Thank you all for your feedback.
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.