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:
Alceatraz Warprays 2023-02-07 12:00:31 +08:00 committed by GitHub
parent b4bf6fd75d
commit 6466b2751d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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/**
``` ```