Skip to content

Instantly share code, notes, and snippets.

@msde
msde / analyze_haproxy_performance.pl
Created August 16, 2016 22:24 — forked from kamermans/analyze_haproxy_performance.pl
HAProxy log analyzer to show response latency distribution from the console
#!/usr/bin/perl
# HAProxy Performance Statistics
# by Steve Kamerman
#
# To use, pipe your HAProxy log with timing information (like "0/0/1/1/3 200") to
# this script. It will output min, max, med, avg and a latency distribution graph.
#
# Info on timing logging in HAProxy: http://code.google.com/p/haproxy-docs/wiki/TimingEvents
#