Skip to content

steveakers/cc-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NAME

cc-stats - pulls a large dataset from graphite by making multiple requests then calculates the mean and standard deviation

###SYNOPSIS

cc-stats [options] <metric_name>

###DESCRIPTION

cc-stats is a VERY special purpose command line tool to calculate mean and standard deviation from a dataset pulled from Graphite. For example, if you wanted to create a 1 hour control chart monitor using rearview you'd need a mean and standard deviation that was calculated using the same lowess smoothing parameters used in the control chart itself. This tool allows you to do that over a larger timeframe. It also allows you to specify a time range when operations are 'shutdown' (e.g. do not use data between midnight and 8am.)

###OPTIONS

cc-stats's default mode is to pull the last days worth of data in 1 hour buckets from a local Graphite instance.

These options can be used to change this behavior:

-g, --graphite
        Graphite URI (default: http://localhost:2300)

-v, --verbose
        Enable verbose output

-b, --begin
        Begin date in epoch time

-e, --end
        End date in epoch time

-h, --hour_stop
        Hour when operations stop (default: 0)

-d, --duration
        Duraiton of shutdown (default: 0)

-i, --interval
        Interval in minutes (default: 60)

You may additional check the version or ask for help:

-e, --version
        Print version and exit

-l, --help
        Print help and exit

About

cc-stats pulls a large dataset from graphite by making multiple requests then calculates the mean and standard deviation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages