tsenart / vegeta

HTTP load testing tool and library. It's over 9000!
http://godoc.org/github.com/tsenart/vegeta/lib
MIT License
23.42k stars 1.36k forks source link

How to change x-axis for the vegeta realtime? #673

Open ocodista opened 9 months ago

ocodista commented 9 months ago

Proposal

I would like to change the x-axis values to be seconds passed or requests sent, currently it's showing an awkward percentage of conclusion (maybe)?

Background

When running the vegeta as realtime using jaggr and plot, some really strange value appears on x-axis. I would love to have seconds/requests passed.

 vegeta attack -targets targets.txt -rate 10 -duration 10s | vegeta encode | \
    jaggr @count=rps \
          hist\[100,200,300,400,500\]:code \
          p25,p50,p95:latency \
          sum:bytes_in \
          sum:bytes_out | \
    jplot rps+code.hist.100+code.hist.200+code.hist.300+code.hist.400+code.hist.500 \
          latency.p95+latency.p50+latency.p25 \
          bytes_in.sum+bytes_out.sum
image

Workarounds

Not that I know of, but would love to :D