
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
graphite-cli
Advanced tools
makes requests to graphite's /render
API
$ npm install -g graphite-cli
Usage: graphite [options]
-t, --target String target
-f, --from String interval - default: -1day
-s, --stdin read target from stdin
-o, --format String output format (json, csv, raw)
-p, --print-target print target
-i, --image-url print graph image URL
-b, --browser open as image in browser
-c, --curl send graph image data to stdout
-h, --help displays help
graphite-cli
reads URL to graphite from GRAPHITE_URL
environment variable
$ export GRAPHITE_URL=http://graphite
$ graphite --from=-5min --target="randomWalk('randomWalk')" -o csv
randomWalk,2015-03-05 15:32:03,0
randomWalk,2015-03-05 15:33:03,0.21089740446196048
randomWalk,2015-03-05 15:34:03,0.30473267268105897
randomWalk,2015-03-05 15:35:03,0.5150866652261553
randomWalk,2015-03-05 15:36:03,0.2311229472001599
$ pbpaste | graphite -s -b
target
piped to stdin$ echo "randomWalk('randomWalk')" | graphite -s -i
http://graphite/render?from=-1day&target=randomWalk('randomWalk')
$ graphite --target="aliasByNode(summarize(counts.web.status_code.*), '10m', 'sum', false), 6)" \
--from=-1h | tr '|' , | cut -d',' -f1,5- | sed 's/\.0//g' | column -t -s, | sort -k1
200 176 213 207 227 292 320 0
201 0 0 0 0 2 0 0
202 0 0 0 0 0 0 0
204 0 0 1 0 0 0 0
302 0 2 0 0 0 2 0
304 0 0 0 0 2 4 0
400 1 0 0 0 0 0 0
401 0 0 0 0 0 0 0
404 0 0 0 0 1 0 0
409 0 0 0 0 0 0 0
429 0 0 0 0 0 0 0
500 0 0 0 0 0 0 0
FAQs
a simple tool for making http calls to graphite
The npm package graphite-cli receives a total of 10 weekly downloads. As such, graphite-cli popularity was classified as not popular.
We found that graphite-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.