Skip to content

A script that looks at wsp files to determine the last time they've been updated and will move them into an archive folder and gzip.

Notifications You must be signed in to change notification settings

agent462/graphite-cleanup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

graphite-cleanup

A script that looks at wsp files to determine the last time they've been updated and will move them into an archive folder and gzip.

Graphite web can read gzipped files. In local_settings.py make sure you also point to your archive directory in DATA_DIRS

Usage

Run this on cron or another schedular every day. It will move inactive metrics/nodes to an archive directory that you specify.

A few gems will be needed:

gem install logger
gem install file-find

Specify a couple directories at the top of the script

About

A script that looks at wsp files to determine the last time they've been updated and will move them into an archive folder and gzip.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages