-
Environment: CentOS 7, ES 7.17, SkyWalking 8.9.1 SkyWalking Plugins: apm-trace-ignore-plugin-8.9.0.jar, apm-customize-enhance-plugin-8.9.0.jar App: SpringBoot 2.2.6.RELEASE + Swagger 3 My original intention is to use SkyWalking to track API calls between multiple services, as well as calls between methods within each interface. So I introduced the trace-ignore-plugin to filter some content that I don't want to be tracked. E.g: Like what's in the picture above, none of them are interfaces that I've defined. I don't want them to be traceable. But I don't know how to filter by the plugin. E.g 2: Get:/ I don't know why an interface like the one above would be called and both fail. I also don't want them to be tracked. Hope to get your help, thank you very much. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
This is how your codes work, not about you defined it or not. Ignore plugin has its document, https://skywalking.apache.org/docs/skywalking-java/v8.9.0/en/setup/service-agent/java-agent/agent-optional-plugins/trace-ignore-plugin/ If you want to dig more details, UTs may help. https://github.com/apache/skywalking-java/blob/main/apm-sniffer/optional-plugins/trace-ignore-plugin/src/test/java/org/apache/skywalking/apm/plugin/trace/ignore/TracePathMatcherTest.java |
Beta Was this translation helpful? Give feedback.
This is how your codes work, not about you defined it or not. Ignore plugin has its document, https://skywalking.apache.org/docs/skywalking-java/v8.9.0/en/setup/service-agent/java-agent/agent-optional-plugins/trace-ignore-plugin/
If you want to dig more details, UTs may help. https://github.com/apache/skywalking-java/blob/main/apm-sniffer/optional-plugins/trace-ignore-plugin/src/test/java/org/apache/skywalking/apm/plugin/trace/ignore/TracePathMatcherTest.java