You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/12/14 08:09:17 UTC
[GitHub] [skywalking-java] chanjarster commented on a change in pull request #83: issue #8292 add returnedObj expression support for apm-customize-enhance-plugin
chanjarster commented on a change in pull request #83:
URL: https://github.com/apache/skywalking-java/pull/83#discussion_r768404231
##########
File path: docs/en/setup/service-agent/java-agent/Customize-enhance-trace.md
##########
@@ -38,6 +38,15 @@ Implementing enhancements to custom classes requires two steps.
<tag key="tag_os">arg[0].os.[1]</tag>
<log key="log_map">arg[0].getM().['k1']</log>
</method>
+ <method method="retString(java.lang.String)" operation_name="/retString" static="false">
+ <tag key="tag_ret">returnedObj</tag>
+ <log key="log_map">returnedObj</log>
+ </method>
+ <method method="retModel0(test.apache.skywalking.apm.testcase.customize.model.Model0)"
+ operation_name="/retModel0" static="false">
+ <tag key="tag_ret">returnedObj.model1.id</tag>
+ <log key="log_map">returnedObj.model1.getId()</log>
+ </method>
Review comment:
fixed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org