Skip to content

Commit

Permalink
[pinpoint-apm#9480] also collects unsampled trace uris for uri stat
Browse files Browse the repository at this point in the history
  • Loading branch information
ga-ram committed Dec 7, 2022
1 parent ac624f9 commit 2e4c1be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2e4c1be

Please sign in to comment.