You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/04/15 08:08:16 UTC
[GitHub] [skywalking] cjxiong opened a new issue #6758: When using the AOP aspect in the project, the result obtained by using TraceContext.traceId() is Ignored_Trace
cjxiong opened a new issue #6758:
URL: https://github.com/apache/skywalking/issues/6758
Please answer these questions before submitting your issue.
- Why do you submit this issue?
- [ v] Question or discussion
___
### Question
- What do you want to know?
I quoted in the Spring project
` <dependency>
<groupId>org.apache.skywalking</groupId>
<artifactId>apm-toolkit-trace</artifactId>
</dependency>
<dependency>
<groupId>org.apache.skywalking</groupId>
<artifactId>apm-toolkit-logback-1.x</artifactId>
</dependency>`
I need to print the parameters in AOP when the method is called
` @Before("execution(public * com.apis..*.*(..))" + "||execution(public * com.provider..*.*(..))")
public void before(JoinPoint point) {
this.printMethodParams(point);
}`
`public void printMethodParams(JoinPoint point) {
String traceId = TraceContext.traceId();
}`
At this time, the value of traceId is Ignored_Trace
___
### Bug
- Which version of SkyWalking, OS, and JRE?
SkyWalking 8.5
___
### Requirement or improvement
I want to know how to output traceId correctly.
Thank you
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking] wu-sheng commented on issue #6758: When using the AOP aspect in the project, the result obtained by using TraceContext.traceId() is Ignored_Trace
Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #6758:
URL: https://github.com/apache/skywalking/issues/6758#issuecomment-820239822
Don't submit duplicated issue. We don't generate trace id in this case
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking] cjxiong commented on issue #6758: When using the AOP aspect in the project, the result obtained by using TraceContext.traceId() is Ignored_Trace
Posted by GitBox <gi...@apache.org>.
cjxiong commented on issue #6758:
URL: https://github.com/apache/skywalking/issues/6758#issuecomment-820251351
There are detailed class calls in the skywalking trace, but the call parameters are not displayed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking] wu-sheng commented on issue #6758: When using the AOP aspect in the project, the result obtained by using TraceContext.traceId() is Ignored_Trace
Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #6758:
URL: https://github.com/apache/skywalking/issues/6758#issuecomment-820248348
We don't think this should be supported.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking] cjxiong commented on issue #6758: When using the AOP aspect in the project, the result obtained by using TraceContext.traceId() is Ignored_Trace
Posted by GitBox <gi...@apache.org>.
cjxiong commented on issue #6758:
URL: https://github.com/apache/skywalking/issues/6758#issuecomment-820245987
Is that 8.6.0 version supports such an operation?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [skywalking] wu-sheng closed issue #6758: When using the AOP aspect in the project, the result obtained by using TraceContext.traceId() is Ignored_Trace
Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #6758:
URL: https://github.com/apache/skywalking/issues/6758
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org