Skip to main content

A CLI tool to determine STDIN line rate at the interval of choice.

Project description

What?

A CLI tool to determine STDIN line rate at the interval of choice.

Installation

$ python setup.py install

Examples

Send to Graphite the number of close() calls a process does per 10 seconds:

$ strace -p 2760 -e close | bucketize --time_bucket_size 10 --output_template "one.two.three {amount} {time}"
one.two.three 1 1476562447.65
one.two.three 0 1476562457.65
one.two.three 68 1476562467.65
one.two.three 1 1476562477.65
one.two.three 1 1476562487.65
one.two.three 0 1476562497.65^C

$ strace -p 2760 -e close | bucketize --time_bucket_size 10 --output_template "one.two.three {amount} {time}"| nc graphite-server 2003

Project details


Release history Release notifications

This version
History Node

0.1.0

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page