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/02/27 08:40:37 UTC

[GitHub] [skywalking] wls1036 opened a new issue #6465: plugin.mysql.trace_sql_parameters not working in skywalking v8.4.0

wls1036 opened a new issue #6465:
URL: https://github.com/apache/skywalking/issues/6465


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [ x] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Question
   - What do you want to know?
   
   ___
   ### Bug
   - Which version of SkyWalking, OS, and JRE?
   skywalking:v8.4.0
   OS:Mac Mojave 10.14.5
   JRE:jdk1.8.0_161
   Mysql Version:8.0.21
   Mysql JDBC Driver Version:8.0.20
   Mysql JDBC Driver class: com.mysql.cj.jdbc.Driver,com.mysql.jdbc.Driver
   
   - Which company or project?
   Person
   
   - What happened?
   If possible, provide a way to reproduce the error. e.g. demo application, component version.
   
   set agent config plugin.mysql.trace_sql_parameters=true not working in skywalking v8.4.0,but working in version 8.0.1,the same code.
   
   sample code:
   
   @RestController
   public class JDBCController {
   
       @Autowired
       private JdbcTemplate jdbcTemplate;
   
       @GetMapping("/jdbc")
       public Map testJDBC() {
           return jdbcTemplate.queryForMap("select * from apm_project where short_code=?", "hr");
       }
   }
   
   application.properties
   
   spring.datasource.url=jdbc:mysql://localhost:3308/apiman?useUnicode=true&characterEncoding=utf8
   spring.datasource.username=root
   spring.datasource.password=xxxx
   spring.datasource.driver-class-name=com.mysql.jdbc.Driver
   ___
   ### Requirement or improvement
   - Please describe your requirements or improvement suggestions.
   


----------------------------------------------------------------
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



[GitHub] [skywalking] wu-sheng closed issue #6465: plugin.mysql.trace_sql_parameters not working in skywalking v8.4.0

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #6465:
URL: https://github.com/apache/skywalking/issues/6465


   


----------------------------------------------------------------
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



[GitHub] [skywalking] wls1036 commented on issue #6465: plugin.mysql.trace_sql_parameters not working in skywalking v8.4.0

Posted by GitBox <gi...@apache.org>.
wls1036 commented on issue #6465:
URL: https://github.com/apache/skywalking/issues/6465#issuecomment-787041710


   Thanks. new version `agent.config` is the old name configuration`plugin.mysql.trace_sql_parameters` not update.Maybe you can add a tip comment in the next version.


----------------------------------------------------------------
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



[GitHub] [skywalking] wu-sheng commented on issue #6465: plugin.mysql.trace_sql_parameters not working in skywalking v8.4.0

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #6465:
URL: https://github.com/apache/skywalking/issues/6465#issuecomment-787037668


   Please read the correct documentation. Configuration key could be changed in the new version.
   `plugin.jdbc.trace_sql_parameters` ref to https://skywalking.apache.org/docs/main/v8.4.0/en/setup/service-agent/java-agent/readme/#table-of-agent-configuration-properties


----------------------------------------------------------------
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



[GitHub] [skywalking] wu-sheng commented on issue #6465: plugin.mysql.trace_sql_parameters not working in skywalking v8.4.0

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #6465:
URL: https://github.com/apache/skywalking/issues/6465#issuecomment-787044358


   Take a look at https://github.com/apache/skywalking/pull/6303.


----------------------------------------------------------------
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