Merge branch '2.2.x'

pull/20032/head
Stephane Nicoll 5 years ago
commit 1c87325420

@ -128,7 +128,8 @@ public class WebMvcMetricsFilter extends OncePerRequestFilter {
Builder builder = this.autoTimer.builder(this.metricName);
timerSample.stop(getTimer(builder, handler, request, response, exception));
}
} else {
}
else {
for (Timed annotation : annotations) {
Builder builder = Timer.builder(annotation, this.metricName);
timerSample.stop(getTimer(builder, handler, request, response, exception));

Loading…
Cancel
Save