Logs
WASP load data is stored in VictoriaLogs and queried with LogsQL. The bundled WASP (VictoriaLogs) dashboard is loaded automatically, but you can also explore the raw data in localhost:3000 (VictoriaLogs datasource) or directly via the VictoriaLogs UI at localhost:9428.
Every WASP record carries these fields: go_test_name, gen_name, call_group, branch, commit and test_data_type (stats or responses). Numeric values (current_rps, current_instances, duration, ...) live in the JSON _msg, so add | unpack_json before aggregating them.
Example WASP Log Queries
Queries:
- All data for a single test
go_test_name:="TestMyLoad"
- Periodic generator stats (RPS, VUs, sampling)
go_test_name:="TestMyLoad" AND test_data_type:stats
- Individual responses (one log line per call)
go_test_name:="TestMyLoad" AND test_data_type:responses
- Current RPS per generator
test_data_type:stats | unpack_json | stats by (go_test_name, gen_name) max(current_rps) value
- Current VUs (virtual users) per generator
test_data_type:stats | unpack_json | stats by (go_test_name, gen_name) max(current_instances) value
- Failed responses
test_data_type:responses AND _msg:"\"failed\":true"
- Timed out responses
test_data_type:responses AND _msg:"\"timeout\":true"
- Latency quantiles (p99/p95/p50, in nanoseconds) per call group
test_data_type:responses | unpack_json | stats by (gen_name, call_group) quantile(0.99, duration) value