https://github.com/rhyskeepence/nuke
https://github.com/rhyskeepence/nuke
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rhyskeepence/nuke
- Owner: rhyskeepence
- Created: 2012-05-16T09:27:58.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-05-16T09:28:33.000Z (almost 14 years ago)
- Last Synced: 2025-01-07T21:54:19.397Z (about 1 year ago)
- Language: Scala
- Size: 89.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Nuke is a utility to aggregate snoggin data that is older than a particular date, reducing the size of the database.
Snoggin metrics are stored in 10 second intervals. For each day past the cutoff, this tool will insert an average of that day's data, and remove the 10 second data.
Usage
=====
java -jar nuke.jar [mongo host] [mongo port] [mongo user] [mongo password] [number of days to keep]
(If your database has no username or password, use "")
Building
========
run `sbt assembly`
This will produce target/nuke-assembly-0.1-SNAPSHOT.jar, which can be renamed to nuke.jar for clarity.