* provides a optional-plugin for tracking ignores enhancement(#1203) * trace ignore plugin config support override by system.env * optimize the trace ignore plugin and make normalization of pom * add AntPathMatcher and an junit test for it * No longer rely on the spring framework * add license at file header * rebuild pom and rewrite README * rebuild optional-plugins pom * clean up useless code * modify junit * rewrite the ant path match logic * rename the matcher class * add the trace ignore plugin introduce doc to incubating features menu. * modify the README doc. * remove Chinese in English doc. * remove superfluous content of EN-doc. * Update README.md |
||
|---|---|---|
| .. | ||
| src | ||
| README.md | ||
| README_CN.md | ||
| apm-trace-ignore-plugin.config | ||
| pom.xml | ||
README.md
Support custom trace ignore
Here is an optional plugin apm-trace-ignore-plugin
Introduce
- The purpose of this plugin is to filter custom services which are expected to ignore from the tracing system.
- You can set up multiple URL path patterns, The services matches these patterns means won't be traced and analysis by agent and collector.
- The current matching rule follows
Ant Pathmatch style , like/path/*,/path/**,/path/?. - Copy
apm-trace-ignore-plugin-x.jartoagent/plugins, restarting theagentcan 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, - Copy
/agent/optional-plugins/apm-trace-ignore-plugin/apm-trace-ignore-plugin.configto/agent/config/dir, And add settings
trace.ignore_path=/your/path/1/**,/your/path/2/**