You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2023/02/07 04:00:37 UTC
[skywalking-java] branch main updated: Update trace-ignore-plugin.md (#452)
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-java.git
The following commit(s) were added to refs/heads/main by this push:
new 6466b2751d Update trace-ignore-plugin.md (#452)
6466b2751d is described below
commit 6466b2751dd29f11aee39eaa54357f1b87fdb3e6
Author: Alceatraz Warprays <mi...@live.com>
AuthorDate: Tue Feb 7 12:00:31 2023 +0800
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.
---
.../java-agent/agent-optional-plugins/trace-ignore-plugin.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/en/setup/service-agent/java-agent/agent-optional-plugins/trace-ignore-plugin.md b/docs/en/setup/service-agent/java-agent/agent-optional-plugins/trace-ignore-plugin.md
index 86889f4b57..dfaf2a1bed 100644
--- a/docs/en/setup/service-agent/java-agent/agent-optional-plugins/trace-ignore-plugin.md
+++ b/docs/en/setup/service-agent/java-agent/agent-optional-plugins/trace-ignore-plugin.md
@@ -13,7 +13,7 @@ Sampling still works when the trace ignores plug-in activation.
## 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
+ 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/**
```