From 6aeb7795681f0092b204cc9a0bef8ab0d508fa57 Mon Sep 17 00:00:00 2001 From: ga-ram Date: Wed, 7 Dec 2022 16:32:21 +0900 Subject: [PATCH] [#9480] also collects unsampled trace uris for uri stat --- .../spring/web/interceptor/LookupHandlerMethodInterceptor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/web/interceptor/LookupHandlerMethodInterceptor.java b/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/web/interceptor/LookupHandlerMethodInterceptor.java index d31c0ffd5ac6..953a0171f4da 100644 --- a/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/web/interceptor/LookupHandlerMethodInterceptor.java +++ b/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/web/interceptor/LookupHandlerMethodInterceptor.java @@ -22,7 +22,7 @@ public void before(Object target, Object[] args) { @Override public void after(Object target, Object[] args, Object result, Throwable throwable) { - Trace trace = traceContext.currentTraceObject(); + Trace trace = traceContext.currentRawTraceObject(); if (trace != null) { ServletRequest arg = ArrayArgumentUtils.getArgument(args, 1, ServletRequest.class); String url = (String) arg.getAttribute(SpringWebMvcConstants.SPRING_MVC_DEFAULT_URI_ATTRIBUTE_KEY);