skywalking-java/apm-sniffer/optional-plugins/trace-ignore-plugin
吴晟 Wu Sheng 65299892e3
Change index page of Incubating and optional plugin documents (#1340)
* Reorganize incubating and optional docs.
2018-06-11 22:50:20 +08:00
..
src provides a optional-plugin for tracking ignores enhancement(#1203) (#1213) 2018-05-24 08:49:19 +08:00
README.md Change index page of Incubating and optional plugin documents (#1340) 2018-06-11 22:50:20 +08:00
README_CN.md Add introduce doc to incubating features menu (#1265) 2018-05-25 17:55:57 +08:00
apm-trace-ignore-plugin.config provides a optional-plugin for tracking ignores enhancement(#1203) (#1213) 2018-05-24 08:49:19 +08:00
pom.xml Add introduce doc to incubating features menu (#1265) 2018-05-25 17:55:57 +08:00

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 Path match style , like /path/*, /path/**, /path/?.
  • Copy apm-trace-ignore-plugin-x.jar to agent/plugins, restarting the agent can effect the plugin.

How to configure

There are two ways to configure ignore patterns. Settings through system env has higher priority.

  1. Set through the system environment variable,you need to add skywalking.trace.ignore_path to the system variables, the value is the path that you need to ignore, multiple paths should be separated by ,
  2. Copy/agent/optional-plugins/apm-trace-ignore-plugin/apm-trace-ignore-plugin.config to /agent/config/ dir, and add rules to filter traces
trace.ignore_path=/your/path/1/**,/your/path/2/**