https://github.com/cbeer/graphite-tools
https://github.com/cbeer/graphite-tools
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/cbeer/graphite-tools
- Owner: cbeer
- Created: 2015-05-11T21:55:39.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-12T22:15:24.000Z (about 10 years ago)
- Last Synced: 2025-04-19T19:49:50.186Z (about 2 months ago)
- Language: Ruby
- Size: 133 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Utilities for working with graphite / carbon
Calculate the number of bytes a given Carbon retention policy will take
## whisper-calc
```
$ whisper-calc -n 10 -m 100 10s:1d,1m:7d,10m:1y,60m:5y
=> 1.29 GB$ whisper-calc -n 10 -m 100 10s:1d,1m:1y
=> 5.97 GB
```## graphite-predict
```
$ curl "http://localhost/render/?from=-7days&target=server.diskspace.root.byte_free&format=json" | graphite-predict
=> server.diskspace.root.byte_free : 2015-07-26 19:59:24 -0700
```## graphite-spark
```
$ curl "http://localhost/render/?from=-7days&target=server.diskspace.root.byte_free&format=json" | graphite-spark
=> server.diskspace.root.byte_free : ██▆▅▃▂▁```