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/shiimaxx/haggar
$ haggar -h
Usage of haggar:
-cache_conections: if set, keep connections open between flushes
-carbon="localhost:2003": address of carbon host
-datapoints=1: number of datapoints each metrics
-metrics=10000: number of metrics for each agent to hold
-prefix="haggar": prefix for metrics
-tasks=100: number of tasks that will pass to woker
-workers=100: max number of workers to run concurrently
This tool was designed and developed by @gorsuch and @obfuscurity.