diff --git a/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/conf/Config.java b/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/conf/Config.java index 9104c1cb9..2553cca84 100644 --- a/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/conf/Config.java +++ b/apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/conf/Config.java @@ -189,9 +189,9 @@ public class Config { public static class Toolkit { /** - * If true, the fully qualified method name will be used as the endpoint name instead of the operation name, default is false. + * If true, the fully qualified method name will be used as the operation name instead of the given operation name, default is false. */ - public static boolean USE_QUALIFIED_NAME_AS_ENDPOINT_NAME = false; + public static boolean USE_QUALIFIED_NAME_AS_OPERATION_NAME = false; } } } diff --git a/apm-sniffer/apm-toolkit-activation/apm-toolkit-trace-activation/src/main/java/org/apache/skywalking/apm/toolkit/activation/trace/TraceAnnotationMethodInterceptor.java b/apm-sniffer/apm-toolkit-activation/apm-toolkit-trace-activation/src/main/java/org/apache/skywalking/apm/toolkit/activation/trace/TraceAnnotationMethodInterceptor.java index b84c053a1..ca82248ec 100644 --- a/apm-sniffer/apm-toolkit-activation/apm-toolkit-trace-activation/src/main/java/org/apache/skywalking/apm/toolkit/activation/trace/TraceAnnotationMethodInterceptor.java +++ b/apm-sniffer/apm-toolkit-activation/apm-toolkit-trace-activation/src/main/java/org/apache/skywalking/apm/toolkit/activation/trace/TraceAnnotationMethodInterceptor.java @@ -41,7 +41,7 @@ public class TraceAnnotationMethodInterceptor implements InstanceMethodsAroundIn MethodInterceptResult result) throws Throwable { Trace trace = method.getAnnotation(Trace.class); String operationName = trace.operationName(); - if (operationName.length() == 0 || Config.Plugin.Toolkit.USE_QUALIFIED_NAME_AS_ENDPOINT_NAME) { + if (operationName.length() == 0 || Config.Plugin.Toolkit.USE_QUALIFIED_NAME_AS_OPERATION_NAME) { operationName = MethodUtil.generateOperationName(method); } diff --git a/docs/en/setup/service-agent/java-agent/README.md b/docs/en/setup/service-agent/java-agent/README.md index 51c1622a1..d79e9bb5c 100644 --- a/docs/en/setup/service-agent/java-agent/README.md +++ b/docs/en/setup/service-agent/java-agent/README.md @@ -25,7 +25,7 @@ The agent release dist is included in Apache [official release](http://skywalkin - Start your application. ## Supported middlewares, frameworks and libraries -SkyWalking agent has supported various middlewares, framdworks and libraries. +SkyWalking agent has supported various middlewares, frameworks and libraries. Read [supported list](Supported-list.md) to get them and supported version. If the plugin is in **Optional²** catalog, go to [optional plugins](#optional-plugins) section to learn how to active it. @@ -81,7 +81,7 @@ property key | Description | Default | `plugin.mongodb.trace_param`|If true, trace all the parameters in MongoDB access, default is false. Only trace the operation, not include parameters.|`false`| `plugin.elasticsearch.trace_dsl`|If true, trace all the DSL(Domain Specific Language) in ElasticSearch access, default is false.|`false`| `plugin.springmvc.use_qualified_name_as_endpoint_name`|If true, the fully qualified method name will be used as the endpoint name instead of the request URL, default is false.|`false`| -`plugin.toolit.use_qualified_name_as_endpoint_name`|If true, the fully qualified method name will be used as the endpoint name instead of the operation name, default is false.|`false`| +`plugin.toolit.use_qualified_name_as_operation_name`|If true, the fully qualified method name will be used as the operation name instead of the given operation name, default is false.|`false`| ## Optional Plugins Java agent plugins are all pluggable. Optional plugins could be provided in `optional-plugins` folder under agent or 3rd party repositores.