/haggar

experimental carbon load testing tool

Primary LanguageGoMIT LicenseMIT

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.

Installation

$ go get github.com/shiimaxx/haggar

Command-line flags

$ 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

Credits

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