Update trace-ignore-plugin.md (#452)
/agent/optional-plugins/apm-trace-ignore-plugin/apm-trace-ignore-plugin.config does not exist anymore, `optional-plugins` contains no folder in the latest release.
This commit is contained in:
parent
b4bf6fd75d
commit
6466b2751d
|
|
@ -13,7 +13,7 @@ Sampling still works when the trace ignores plug-in activation.
|
||||||
## How to configure
|
## How to configure
|
||||||
There are two ways to configure ignore patterns. Settings through system env has higher priority.
|
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 `,`
|
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
|
2. Create file named as `apm-trace-ignore-plugin.config` in `/agent/config/` dir, and add rules to filter traces
|
||||||
```
|
```
|
||||||
trace.ignore_path=/your/path/1/**,/your/path/2/**
|
trace.ignore_path=/your/path/1/**,/your/path/2/**
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue