OPS-33 · On-call summary is wrong
The nightly access-log summary used by on-call:
- crashes with
ValueError: max() arg is an empty sequence, even on non-empty logs;
- reports 0% errors when there clearly were 5xx responses;
- ignores lines with doubled spaces;
- shows
17 instead of 16.7 for the error rate, and ties in top paths come out in random order.
The intended behaviour is in the report docstring.