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 9559fad4c0 correct toolkit naming (#380)
9559fad4c0 is described below
commit 9559fad4c07f6db2c21d90fd6ef2cf838623342d
Author: Brandon Fergerson <[email protected]>
AuthorDate: Fri Nov 11 04:41:07 2022 +0400
correct toolkit naming (#380)
---
CHANGES.md | 1 +
apm-sniffer/config/agent.config | 2 +-
docs/en/setup/service-agent/java-agent/configurations.md | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/CHANGES.md b/CHANGES.md
index 068dbc8179..9917d5e361 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -6,6 +6,7 @@ Release Notes.
------------------
* Polish test framework to support `arm64/v8` platforms
+* Fix wrong config name `plugin.toolkit.use_qualified_name_as_operation_name`,
and system variable name
`SW_PLUGIN_TOOLKIT_USE_QUALIFIED_NAME_AS_OPERATION_NAME:false`. They were
**toolit**.
#### Documentation
diff --git a/apm-sniffer/config/agent.config b/apm-sniffer/config/agent.config
index e3d545599b..6c1c94c4c4 100755
--- a/apm-sniffer/config/agent.config
+++ b/apm-sniffer/config/agent.config
@@ -188,7 +188,7 @@
plugin.elasticsearch.trace_dsl=${SW_PLUGIN_ELASTICSEARCH_TRACE_DSL:false}
# If true, the fully qualified method name will be used as the endpoint name
instead of the request URL, default is false.
plugin.springmvc.use_qualified_name_as_endpoint_name=${SW_PLUGIN_SPRINGMVC_USE_QUALIFIED_NAME_AS_ENDPOINT_NAME:false}
# If true, the fully qualified method name will be used as the operation name
instead of the given operation name, default is false.
-plugin.toolit.use_qualified_name_as_operation_name=${SW_PLUGIN_TOOLIT_USE_QUALIFIED_NAME_AS_OPERATION_NAME:false}
+plugin.toolkit.use_qualified_name_as_operation_name=${SW_PLUGIN_TOOLKIT_USE_QUALIFIED_NAME_AS_OPERATION_NAME:false}
# If set to true, the parameters of the sql (typically
`java.sql.PreparedStatement`) would be collected.
plugin.jdbc.trace_sql_parameters=${SW_JDBC_TRACE_SQL_PARAMETERS:false}
# If set to positive number, the `db.sql.parameters` would be truncated to
this length, otherwise it would be completely saved, which may cause
performance problem.
diff --git a/docs/en/setup/service-agent/java-agent/configurations.md
b/docs/en/setup/service-agent/java-agent/configurations.md
index 3fa612b26e..7f3f3fed47 100644
--- a/docs/en/setup/service-agent/java-agent/configurations.md
+++ b/docs/en/setup/service-agent/java-agent/configurations.md
@@ -65,7 +65,7 @@ This is the properties list supported in
`agent/config/agent.config`.
| `plugin.mongodb.filter_length_limit` | If set to
positive number, the `WriteRequest.params` would be truncated to this length,
otherwise it would be completely saved, which may cause performance problem.
[...]
| `plugin.elasticsearch.trace_dsl` | If true, trace
all the DSL(Domain Specific Language) in ElasticSearch access, default is
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.
[...]
-| `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.
[...]
+| `plugin.toolkit.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.
[...]
| `plugin.jdbc.trace_sql_parameters` | If set to true,
the parameters of the sql (typically `java.sql.PreparedStatement`) would be
collected.
[...]
| `plugin.jdbc.sql_parameters_max_length` | If set to
positive number, the `db.sql.parameters` would be truncated to this length,
otherwise it would be completely saved, which may cause performance problem.
[...]
| `plugin.jdbc.sql_body_max_length` | If set to
positive number, the `db.statement` would be truncated to this length,
otherwise it would be completely saved, which may cause performance problem.
[...]