experimental carbon load testing tool
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.travis.yml travis Aug 17, 2014
LICENSE Update LICENSE Aug 7, 2014
README.md important commit message Sep 7, 2014
main.go Explicitly nil the agent connection if caching is disabled. Jan 2, 2017
util.go cleanup + tests Aug 12, 2014
util_test.go cleanup + tests Aug 12, 2014


haggar Build Status

An experimental carbon load generation tool named after Haggar the Witch, a real menace to Voltron.

It's also named after pants.

It behaves like a swarm of collectd agents firing a fixed number of metrics at a fixed interval to your carbon-compatible endpoint. The number of agents increase over time until a maximum number is reached. At any given time, you can pause the spawning of new agents by sending SIGUSR1. Spawning can be resumed by doing the same.


$ go get github.com/gorsuch/haggar

Command-line flags

$ haggar -h
Usage of haggar:
  -agents=100: max number of agents to run concurrently
  -carbon="localhost:2003": address of carbon host
  -flush-interval=10s: how often to flush metrics
  -jitter=10s: max amount of jitter to introduce in between agent launches
  -metrics=10000: number of metrics for each agent to hold
  -prefix="haggar": prefix for metrics
  -spawn-interval=10s: how often to gen new agents


This tool was designed and developed by @gorsuch and @obfuscurity.