static Set<StatusCodeMetric> of(Request req, int statusCode, List<String> monitoringHandlerPaths,
                                   List<String> searchHandlerPaths) {
            Dimensions dimensions = Dimensions.of(req, statusCode, monitoringHandlerPaths, searchHandlerPaths);
            return metricNames(statusCode).stream()
                    .map(name -> new StatusCodeMetric(dimensions, name))
                    .collect(Collectors.toSet());
        }
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