https://github.com/operasoftware/graphite-cleaner
Graphite Whisper stale database files remover
https://github.com/operasoftware/graphite-cleaner
Last synced: 10 months ago
JSON representation
Graphite Whisper stale database files remover
- Host: GitHub
- URL: https://github.com/operasoftware/graphite-cleaner
- Owner: operasoftware
- License: mit
- Created: 2015-11-16T11:48:34.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-09-07T06:06:20.000Z (almost 4 years ago)
- Last Synced: 2025-07-13T02:41:39.376Z (12 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 6
- Watchers: 9
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# graphite-cleaner
Wipe out stale Whisper files.
[Graphite](https://github.com/graphite-project/graphite-web) or [Whisper](https://github.com/graphite-project/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
```