Merge branch '2.2.x'

This commit is contained in:
Stephane Nicoll 2020-02-04 10:19:22 +01:00
commit 1c87325420
1 changed files with 2 additions and 1 deletions

View File

@ -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));