zjh129 commented on code in PR #209:
URL: https://github.com/apache/skywalking-go/pull/209#discussion_r1804043670
##########
plugins/gozero/rest/config.go:
##########
@@ -0,0 +1,9 @@
+package rest
+
+//skywalking:config gozero
+var config struct {
+ CollectRequestParameters bool `config:"collect_request_parameters"`
// CollectRequestParameters is used to determine whether to collect request
parameters.
+ CollectResponseData bool `config:"collect_response_data"`
// CollectResponseData is used to determine whether to collect response data.
+ DataSensitiveFields string `config:"data_sensitive_fields"`
// DataSensitiveFields is used to determine the sensitive fields in the request
and response data.
Review Comment:
Alright, I have now retained only the necessary configurations and will wait
to further develop and refine it later.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]