Class IgnoreConfigInitializer
java.lang.Object
org.apache.skywalking.apm.plugin.trace.ignore.conf.IgnoreConfigInitializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidTry to locate `apm-trace-ignore-plugin.config`, which should be in the /optional-plugins/apm-trace-ignore-plugin/ dictionary of agent package.
-
Constructor Details
-
IgnoreConfigInitializer
public IgnoreConfigInitializer()
-
-
Method Details
-
initialize
public 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.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.
-