Here is an optional plugin apm-trace-ignore-plugin
Notice: Sampling still works when the trace ignores plug-in activation.
Ant Path match style , like /path/*, /path/**, /path/?.apm-trace-ignore-plugin-x.jar to agent/plugins, restarting the agent can effect the plugin.There are two ways to configure ignore patterns. Settings through system env has higher priority.
skywalking.trace.ignore_path to the system variables, the value is the path that you need to ignore, multiple paths should be separated by ,apm-trace-ignore-plugin.config in /agent/config/ dir, and add rules to filter tracestrace.ignore_path=/your/path/1/**,/your/path/2/**
Due to the mechanism sharing, this plugin has conflicts with the plugin of sampler plugin with CPU policy(trace-sampler-cpu-policy-plugin-*.jar) in the optional plugin folder.