skywalking-java/apm-sniffer/optional-plugins/trace-ignore-plugin
xinzhuxiansheng 44fc3e0742 Adjust and modify the catalog and doc under Supported-list.md (#1445)
* first commit

* ad

* add

* add

* add

* add

* add

* add

* add

* add

* add

* add

* add

* 调整和修改中间件,框架与类库支持列表 目录文档

* add

* add

* 修改Incubating

* add
2018-07-13 23:22:50 -07: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 Adjust and modify the catalog and doc under Supported-list.md (#1445) 2018-07-13 23:22:50 -07: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 Update version to RC (#1446) 2018-07-11 15:53:33 -07: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/**