k6: Gauge max reports 0 when every sample is negative

Fixed · medium · Wrong-result bug

A gauge max starts at 0 and is never guarded for the first sample, so an all-negative series reports max 0 in summaries and JSON exports.

Found: ; reported: ; status since: . Reporter: Mike Murunov

Page for this report · Public report · Fix or proposed fix (see status)

This does seem like a real issue, but also a very unlikely to be hit one.

Open in the showcase. Record generated .