Support custom trace ignore
Here is an optional plugin
Notice: Sampling still works when the trace ignores plug-in activation.
- The purpose of this plugin is to filter endpoint which are expected to be ignored by the tracing system.
- You can setup multiple URL path patterns, The endpoints match these patterns wouldn’t be traced.
- The current matching rules follow
Ant Pathmatch style , like
agent/plugins, restarting the
agentcan effect the plugin.
How to configure
There are two ways to configure ignore patterns. Settings through system env has higher priority.
- Set through the system environment variable,you need to add
skywalking.trace.ignore_pathto the system variables, the value is the path that you need to ignore, multiple paths should be separated by
/agent/config/dir, and add rules to filter traces