Small utility to measure hiccups on the runtime. Inspired by JHiccup.
Ensure that GOPATH
is set up properly.
go get github.com/fhalim/ghiccup/cmd/ghiccup
go get github.com/fhalim/ghiccup/cmd/ghiccup2influxdb
go get github.com/fhalim/ghiccup/cmd/icmphiccup
The ghiccup
command schedules pauses and measures latency above the specified duration. Commandline options allow specifying the pause duration as well as threshold for latency values that should be reported. The utility emits JSON messages, one per line, on its STDOUT.
icmphiccup
pings a specified host and reports in the same JSON format as ghiccup
when the RTT exceeds a specified threshold.
The ghiccup2influxdb
utility can be used to write the information emitted by ghiccup
into an InfluxDB series.