void onResponse(Request request, int status) {
        if (shouldLogMetricsFor(request)) {
            var metrics = StatusCodeMetric.of(request, status, monitoringHandlerPaths, searchHandlerPaths);
            metrics.forEach(metric -> statistics.computeIfAbsent(metric, __ -> new LongAdder()).increment());
        }
    }
A {@link RequestLog} implementation that collects statistics like HTTP response types aggregated by category.
Implemented as a {@link RequestLog} instead of {@link org.eclipse.jetty.server.handler.EventsHandler} to ensure
that 400 responses from e.g. invalid request headers are also included.

@author ollivir
@author bjorncs
container-core/src/main/java/com/yahoo/jdisc/http/server/jetty/MetricAggregatingRequestLog.java