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 2019/10/17 16:06:40 UTC

[GitHub] [skywalking] kezhenxu94 commented on a change in pull request #3618: add postgresql plugin agent sql param show

kezhenxu94 commented on a change in pull request #3618: add postgresql plugin agent  sql param show
URL: https://github.com/apache/skywalking/pull/3618#discussion_r336082358
 
 

 ##########
 File path: apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/conf/Config.java
 ##########
 @@ -273,6 +273,22 @@
             public static int SQL_PARAMETERS_MAX_LENGTH = 512;
         }
 
+        public static class PostgreSQL {
+            /**
+             * If set to true, the parameters of the sql (typically {@link java.sql.PreparedStatement}) would be
+             * collected.
+             */
+            public static boolean TRACE_SQL_PARAMETERS = true;
 
 Review comment:
   Default value should be `false` due to possible performance issue

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services