public class IgnoreConfigInitializer extends Object
| 构造器和说明 |
|---|
IgnoreConfigInitializer() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
initialize()
Try to locate `apm-trace-ignore-plugin.config`, which should be in the /optional-plugins/apm-trace-ignore-plugin/ dictionary of agent package.
|
public static void initialize()
throws ConfigNotFoundException,
AgentPackageNotFoundException
Also try to override the config by system.env and system.properties. All the keys in these two places should
start with ENV_KEY_PREFIX. e.g. in env `skywalking.trace.ignore_path=your_path` to override
`trace.ignore_path` in apm-trace-ignore-plugin.config file.
Copyright © 2018 The Apache Software Foundation. All rights reserved.