Skip to content

Commit

Permalink
[refactor] 메트릭 로깅 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
kmw2378 authored Jul 4, 2024
1 parent eddd386 commit 7391a90
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ protected void doFilterInternal(final HttpServletRequest request,
final FilterChain filterChain) throws ServletException, IOException {
final ContentCachingRequestWrapper cachingRequest = new ContentCachingRequestWrapper(request);
final ContentCachingResponseWrapper cachingResponse = new ContentCachingResponseWrapper(response);
final String requestURI = cachingRequest.getRequestURI();
if (requestURI.contains(METRIC_URL_PREFIX) || requestURI.contains(FAVICON_URL)) {
return;
}
// final String requestURI = cachingRequest.getRequestURI();
// if (requestURI.contains(METRIC_URL_PREFIX) || requestURI.contains(FAVICON_URL)) {
// return;
// }

apiTimer.start();
filterChain.doFilter(cachingRequest, cachingResponse);
Expand Down

0 comments on commit 7391a90

Please sign in to comment.