Commit Graph

1113 Commits

Author SHA1 Message Date
xbkaishui c9b6a78ca9
Limit Sql body size (#5626) 2020-10-04 23:22:32 +08:00
Daming 47d5a7680b
chore: fix UnnecessaryParentheses (#5624) 2020-10-02 22:03:00 +08:00
Xin,Zhang d02ee0af3e
Replace != with equals (#5617)
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-10-02 15:57:11 +08:00
zhang-wei a36f22f828
add comment (#5620)
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-10-02 09:52:00 +08:00
Kdump d30ca1ab58
fix TypeParameterUnusedInFormals (#5613)
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-10-02 07:41:17 +08:00
Daming 6eda8346bb
remove dead code (#5611) 2020-10-02 00:11:02 +08:00
kezhenxu94 a45f615b6d
Use explicit charset instead of default charset (#5601)
Implicit use of the platform default charset, which can result in differing behaviour between JVM executions or incorrect behavior if the encoding of the data source doesn't match expectations.

Co-authored-by: zhang-wei <pknfe@outlook.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-10-01 21:27:31 +08:00
zhang-wei 736dc3d3ec
Remove some unused variables (#5598) 2020-10-01 14:51:07 +08:00
Xin,Zhang 772f1d2e82
Replace Class.newInstance() with getDeclaredConstructor().newInstance() (#5600)
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-10-01 12:56:28 +08:00
Xin,Zhang 7c69ea889e
Fix JdkObsolete issue (#5599)
* Fix JdkObsolete issue

* Fix code style

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-10-01 11:09:51 +08:00
Kdump 3bc94cbb68
fix Calling getClass() on an enum may return a subclass of the enum type (#5594)
ref: https://errorprone.info/bugpattern/GetClassOnEnum
2020-09-30 22:51:05 +08:00
吴晟 Wu Sheng bc64c6a127
Make the extension header really extendable (#5590) 2020-09-30 07:33:23 +08:00
吴晟 Wu Sheng 103cf00672
Support JDK 11 compiling and upgrade dependencies (#5579)
* Upgrade dependencies and make the JDK11 compiling passed.

* Update license and fix license check file.

* Add CI for JDK11 compiling.

* Update doc.
2020-09-29 10:34:21 +08:00
vcjmhg 806666b4cc
add webflux webclient plugin (#5493) 2020-09-27 22:38:07 +08:00
吴晟 Wu Sheng b560bae3f8
Polish comments of the meter at the agent side. (#5565)
* Polish comments of the meter at the agent side.

* Fix code style.
2020-09-27 07:31:33 +08:00
mrproliu a68be426a0
Provide metrics APIs for agent plugin (#5523) 2020-09-26 21:30:37 +08:00
zifeihan 84d49c4412
Add kafka config for how long does kafka query server topic will trigger timeout (#5554) 2020-09-25 13:03:51 +08:00
harvies 1ff25ac4f4
Support mongo driver 4.x version. (#5512) 2020-09-22 17:09:24 +08:00
harvies c3edd3dad0
Better witness class for mongo3.8.x (#5524)
* modify witness class

* modify witness class & add test case

* replace DB_STATEMENT to DB_BIND_VARIABLES & remove executeMethod prefix

* fix ci

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-09-22 09:50:44 +08:00
吴晟 Wu Sheng 075cb981a9
Add `MOUNT` config in the agent core. (#5529) 2020-09-22 07:14:34 +08:00
hailin0 e200ef1045
Add support for xxl-job (#5519) 2020-09-20 10:04:32 +08:00
Lu Jiajing c65bcf1142
Check bootstrapServers type before casting for kafka-clients >= 2.1 (#5510) 2020-09-18 15:18:54 +08:00
吴晟 Wu Sheng 54ee2e61ad
Fix typo and add comments. (#5495)
* Fix typo and add comments.

* Fix comment.
2020-09-16 11:27:38 +08:00
Evan 29de696c42
exception-ignore-plugin (#5426) 2020-09-09 15:07:01 +08:00
Xin,Zhang 1b5dd9b3f3
Move spring webflux into optional plugin (#5445)
* Move spring webflux into optional plugin

* Fix compile check

* Fix check style

* Adjust code

* add docs

* Update docs/en/setup/service-agent/java-agent/README.md

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-09-09 09:53:07 +08:00
Brandon Fergerson f8c887e241
Include request method type in rest mapping annotations (#5085) 2020-09-05 23:14:40 +08:00
Evan 0e132685e6
fix doc on recently pr (#5432) 2020-09-03 23:20:36 +08:00
hailin0 ca957699dc
Add support for quartz-scheduler (#5413) 2020-08-30 23:48:26 +08:00
xbkaishui ae6b4add50
#5311 Fix ActiveMQ NullPointerException (#5412) 2020-08-30 12:09:57 +08:00
Lu Jiajing 9442a51c11
JsonLogger implementation (#5356) (#5357) 2020-08-29 23:17:29 +08:00
吴晟 Wu Sheng ca5e576c04
Fix sampling and Kafka reporter conflicting. (#5408)
* Fix sampling and Kafka reporter conflicting.

* Remove legacy codes.

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2020-08-28 23:47:03 +08:00
hailin0 afc0aef567
Add logic-endpoint and testcase for elasticjob-2.x plugin (#5395) 2020-08-28 14:27:07 +08:00
novayoung f89ed0c315
Optimize: truncate parameterString (#5396) 2020-08-28 12:46:41 +08:00
Xin,Zhang 77d94b4d2a
Fix issue that spring mvc plugin doesn't works when running on reactive api (#5360) 2020-08-26 13:22:39 +08:00
hailin0 1b54b61a88
Add support for spring @Scheduled (#5339) 2020-08-23 17:13:49 +08:00
Lu Jiajing 5bfac1b50f
Remove style-check exception for logger (#5363) 2020-08-21 18:26:25 +08:00
xbkaishui 79c1c0cc76
Support http header tag (#5348) 2020-08-20 10:43:28 +08:00
于玉桔 494d2a5b65
Elastic job plugin use wrong span type (#5347) 2020-08-19 21:21:09 +08:00
吴晟 Wu Sheng b173cde5db
Upgrade the byte-buddy to 1.10.14 with asm (#5338) 2020-08-17 21:27:57 +08:00
Evan a6e45d04c9
spring annotation enhance (#5320) 2020-08-17 10:14:40 +08:00
吴晟 Wu Sheng f731c25856
Miss topic in the KafkaServiceManagementServiceClient (#5326)
Co-authored-by: Daming <zteny@foxmail.com>
2020-08-16 07:05:40 +08:00
Evan 68317dd910
Add agent plugins selector (#5293) 2020-08-14 15:06:30 +08:00
于玉桔 ab5555fe27
Support @KafkaPollAndInvoke annotation to replace @Trace when just using the Kafka scenario agent plugin (#5304) 2020-08-13 21:18:04 +08:00
xbkaishui a7e77832a9
disable kafka property in agent.config (#5305)
* disable kafka plugin

* enable docker file of kafka for e2e test
2020-08-13 11:09:58 +08:00
于玉桔 e37fc2e439
Support spring-kafka (#5254) 2020-08-10 19:13:19 +08:00
whfjam fdd242edb0
Update HttpClientExecuteInterceptor.java (#5283)
use the  method httpMethod.setRequestHeader to set the new skywalking headers,so that it can override the exits headers if there is any

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-08-10 13:41:31 +08:00
于玉桔 69297b9ec6
Support Apache ShardingSphere-Elasticjob (#5153) 2020-08-10 10:48:23 +08:00
qxo b1305ba07a
fix:fix NullPointerException for replaceParam when message is null (#5280) 2020-08-10 00:17:21 +08:00
yangy 9b6a4ed28c
Fix kafka plugin sometimes trace doesn't show span layer (#5264) 2020-08-08 14:39:54 +08:00
zshit dd6f439df1
support collecting feign params (#5235) 2020-08-06 13:09:31 +08:00