Graphite Whisper stale database files remover
Python Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
graphite_cleaner
.gitignore
LICENSE.md
README.md
ignore.lst.example
release.sh
setup.py

README.md

graphite-cleaner

Wipe out stale Whisper files.

Graphite or Whisper won't remove automatically data for old or renamed metrics. graphite-cleaner launched periodically as f.ex. cron job will do it.

usage

usage: main.py [-h] [--days DAYS] [--path PATH] [--noinput] [-n]
               [-i IGNOREFILE] [-l LOGLEVEL]

optional arguments:
  -h, --help            show this help message and exit
  --days DAYS           files older than this value will be removed (default:
                        30)
  --path PATH           path to Graphite Whisper storage directory (default:
                        /opt/graphite/storage/whisper)
  --noinput
  -n, --dry-run
  -i IGNOREFILE, --ignorefile IGNOREFILE
                        file containing regex patterns specyfing paths to
                        ignore (default: None)
  -l LOGLEVEL, --loglevel LOGLEVEL