Skip to content

philcanman/elbencho_graphite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elbencho_graphite

Elbencho Repo

A simple bash script to help graph Elbencho in real-time. This script parses Elbencho output and feeds it to graphite. Includes an example grafana dashboard that can be tweaked as needed.

elbencho_graphite dashboard

Dependencies

  • Ensure that nc (netcat) is installed (for sending data to graphite)
  • Elbencho must be configured to output CSV format to stdout via the --livecsv switch (Elbencho v3.0.19 or higher)

Usage

Simply run Elbencho with the --livecsv switch and pipe to this script. Optionally you can set --liveint 1000 to receive data every second. Default it every 2 seconds.

Options

Options:
  -s, --server    Set the Graphite server address (default: localhost)
  -p, --port      Set the Graphite port (default: 2003)
  -t, --tag       Set the tag to be used in the metric name (default: default)
  -e, --echo      Echo the data to console (default: disabled)
  -h, --help      Show this help message

Example Command

Local CLI Example:
elbencho -t 20 --iodepth 4 --write --direct --block 8k --size 1g /tmp/test{1..50} --livecsv stdout --liveint 1000 | ./elbencho_graphite.sh -s grafana-host -t demo1

Docker Example:
docker run breuner/elbencho -t 20 --iodepth 4 --write --direct --block 8k --size 1g /tmp/test{1..50} --livecsv stdout --liveint 1000 | ./elbencho_graphite.sh -s grafana-host -t demo1

Note: Do not include the -it flag in your Docker commands, as it can interfere with the output formatting when echoing output (-e).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages