提交 7322ea86 编写于 作者: B Brandon Fergerson

updated to operation name

上级 a2df0e0e
......@@ -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;
}
}
}
......@@ -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);
}
......
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册