|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
/*
|
|
|
|
|
* Copyright 2012-2021 the original author or authors.
|
|
|
|
|
* Copyright 2012-2022 the original author or authors.
|
|
|
|
|
*
|
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
@ -156,9 +156,9 @@ public class WebMvcMetricsFilter extends OncePerRequestFilter {
|
|
|
|
|
return Collections.emptySet();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private Timer getTimer(Builder builder, Object handler, HttpServletRequest request, HttpServletResponse response,
|
|
|
|
|
Throwable exception) {
|
|
|
|
|
return builder.tags(this.tagsProvider.getTags(request, response, handler, exception)).register(this.registry);
|
|
|
|
|
private Timer.Builder getTimer(Builder builder, Object handler, HttpServletRequest request,
|
|
|
|
|
HttpServletResponse response, Throwable exception) {
|
|
|
|
|
return builder.tags(this.tagsProvider.getTags(request, response, handler, exception));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|