Commit Graph

1582 Commits

Author SHA1 Message Date
xzyJavaX 492fb6e356
refactor pipeline in jedis-plugin (#445) 2023-02-03 20:56:03 +08:00
2han9wen71an 4012dc4ff7
Fix H2 plugin instrumentation point (#447) 2023-02-02 22:18:33 +08:00
kezhenxu94 62266673ff
Add plugin for Spring 6, set development baseline to JDK 17, remove Powermock entirely (#444) 2023-01-31 19:29:32 +08:00
叶梦飞 ac84d57023
Expose complete Tracing APIs in the tracing toolkit (#442) 2023-01-24 08:01:18 +08:00
xzyJavaX f366503d58
Enhance lettuce plugin to adopt uniform tags (#441) 2023-01-16 11:46:39 +08:00
吴晟 Wu Sheng 8c989b74e9
Release 8.14.0, begin for 8.15.0 iteration (#440) 2023-01-12 11:00:25 +08:00
xzyJavaX 92b076c281
Enhance redisson plugin to adopt uniform tags (#438) 2023-01-11 23:09:19 +08:00
吴晟 Wu Sheng 5cffa078e1
Add a config `agent.enable`(default: true) to support disabling agent (#439) 2023-01-11 17:14:23 +08:00
codePig 9d03d56778
Put `Agent-Version` property reading in premain stage to avoid deadlock when use `jarsigner`. (#437) 2023-01-06 19:08:41 +08:00
吴晟 Wu Sheng 3ff8c23d0a
[Deadlock] Move `Agent-Version` property reading away from the class loading stage (#436) 2023-01-06 09:11:20 +08:00
dylanforest a68b447878
Support to customize the collect period of JVM relative metrics. (#428) 2022-12-26 22:34:30 +08:00
Jiajing LU ea1c204c95
add Kafka Clients 3.x support (#429) 2022-12-23 13:48:50 +08:00
lvxiao 37a880e903
[fix] In the higher version of mysql-connector-java 8x, there is an error in the value of db.instance. (#427) 2022-12-23 13:09:52 +08:00
Tao Jiuming 1a7d2f786b
[fix][plugin][pulsar] Clean message context after message is recycled to prevent memory leak. (#405) 2022-12-07 21:23:22 +08:00
Marcin Grzejszczak 4f9c2d8527
Adds Micrometer Observation instrumentation (#401) 2022-12-06 18:51:12 +08:00
Stephen Ni a4c3c85258
Add tags `mq.message.keys` and `mq.message.tags` for RocketMQ producer span (#404) 2022-12-03 23:46:05 +08:00
pg.yang 364a4af4b1
Add micronauthttpclient,micronauthttpserver,memcached,ehcache,guavacache,jedis,redisson plugin config properties to agent.config (#402) 2022-12-01 22:16:08 +08:00
Stephen Ni 51161ae6a5
Report the agent version to OAP (#397) 2022-11-29 09:16:00 +08:00
pg.yang add2bc42ca
Polish JDBC plugins to make DBType accurate (#396) 2022-11-23 14:36:18 +08:00
Stephen Ni 6cb2b4290f
Print meter size when it exceeds the maximum value (#392) 2022-11-21 14:25:33 +08:00
Stephen Ni d541b7bc63
Compatible with 3.x and 4.x RabbitMQ Client (#389) 2022-11-20 14:19:45 +08:00
Stephen Ni c90d24e66d
Upgrade agent-test-tools and polish dubbo plugin (#387) 2022-11-19 16:27:25 +08:00
Stephen Ni 7eb796bd28
Support collecting dubbo thread pool metrics (#382) 2022-11-17 09:56:19 +08:00
Stephen Ni bcbbc2bfcc
Rename`JDBI` to `JDBC` (#381) 2022-11-14 11:58:35 +08:00
Brandon Fergerson 9559fad4c0
correct toolkit naming (#380) 2022-11-11 08:41:07 +08:00
吴晟 Wu Sheng 70b3e88b0f
Release 8.13.0, begin 8.14.0 iteration (#378) 2022-11-06 21:46:51 +08:00
pg.yang d4d21cad50
Polish up kafka,nats,activemq,rabbitmq plugins to set peer at comsumer side (#377) 2022-11-06 18:57:19 +08:00
pg.yang f17a4ea54a
Polish up Pulsar plugins (#375) 2022-11-05 22:18:32 +08:00
wuwen 64a33b24a4
Support mannual propagation of tracing context to next stream for webflux. (#371) 2022-11-03 14:41:45 +08:00
zhyyu 6648e450b2
Add MQ_TOPIC and MQ_BROKER tags for RocketMQ consumer's span (#369)
* add rocketmq consumer tag

* update CHANGES.md

* Update CHANGES.md

* change consumer tag not null to not blank

* set rocketmq consumer span's peer to namesrv

Co-authored-by: yuzhongyu <yuzhongyu@cestc.cn>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2022-11-03 07:04:20 +08:00
pg.yang 1148ec3801
Polish up activemq plugin to fix missing broker tag on consumer side (#363) 2022-10-23 14:26:54 +08:00
pg.yang cf85f03ad5
Polish up rabbitmq-5.x plugin to fix missing broker tag on consumer side (#362) 2022-10-21 21:19:57 +08:00
Guillaume Alvarez bd76d1a618
Correct the duration of the transaction span for Neo4J 4.x (#353)
* Fix https://github.com/apache/skywalking/issues/9800, wait for the end of the transaction to close the span.
2022-10-18 21:35:01 +08:00
pg.yang 23b3c2d35e
Unify MQ related plugins' tags for virtual MQ (#351) 2022-10-18 10:11:05 +08:00
wangsan a54fb8865d
add baidu-brpc-java-3.x plugin (#321)
* add baidu-brpc3 trace plugin

Co-authored-by: wangqingpeng <wangqingpeng@baidu.com>
2022-09-25 17:57:54 +08:00
Lisandro 3f88d735ba
[Bug #9598] Apache ShenYu agent Tid is null (#309) 2022-09-15 08:02:25 +08:00
pg.yang 6fce184cfe
Update guava-cache,jedis,memcached,ehcache plugins to adopt uniform tags (#303) 2022-09-10 21:58:55 +08:00
Lv Lifeng 1c14a87067
Add plugin to support impala jdbc driver (#302) 2022-09-10 21:10:46 +08:00
吴晟 Wu Sheng b8f99e95e5
Begin 8.13.0 iteration, 8.12.0 release is on vote (#301)
* [maven-release-plugin] prepare release v8.12.0

* [maven-release-plugin] prepare for next development iteration

* Create changes-8.12.0.md

* Update CHANGES.md
2022-09-01 16:51:48 +08:00
pg.yang ce1f8c0c2c
Upgrade jedis plugin to support 3.x(stream),4.x (#300) 2022-09-01 13:45:53 +08:00
pg.yang 969a258683
Remove inappropriate dependency from elasticsearch-7.x-plugin (#299) 2022-08-31 17:20:32 +08:00
pg.yang 92665b8add
Add plugin to support NATS Java client (#298) 2022-08-29 19:44:20 +08:00
pg.yang 4b564ade64
Add plugin to support micronaut (#291) 2022-08-19 18:20:32 +08:00
BigXin0109 84ccd88e31
feat: add support xxl-job 2.3.x (#295) 2022-08-19 15:09:00 +08:00
Jeffrey H. Lei 42ea174ed9
Force the injected high-priority classes in order to avoid NoClassDefFoundError. (#292)
Co-authored-by: leihuazhe <leihuazhe@sensorsdata.cn>
2022-08-16 17:40:47 +08:00
Brandon Fergerson 3e71ae4cdd
fix: reconnection race condition (#290) 2022-08-08 22:42:11 +08:00
YoyoFx 881a42d228
Fix CVE-2022-24823 and CVE-2022-25647 Vulnerability (#288) 2022-08-05 08:17:03 +08:00
吴晟 Wu Sheng 7b256a61c1
* Upgrade byte-buddy to 1.12.13, and adopt byte-buddy APIs changes. (#287) 2022-08-02 09:14:31 +08:00
yswdqz 129f57c4c1
Add an agent plugin to support tomcat10.x (#286)
Resolve https://github.com/apache/skywalking/issues/7420
2022-07-23 17:54:48 +08:00
kezhenxu94 d75cdf51e1
Save http status code regardless of it's status (#258) 2022-07-12 14:53:14 +08:00
geekymv 6eeacf0959
Add an agent plugin to support hutool-http (#264) 2022-06-30 09:31:59 +08:00
Leibniz.Hu a60a61b83d
Add support for RESTEasy 4.x (#265)
- Most of the codes are copied from RESTEasy 3.x 
- The plugin test cases are copied from https://github.com/apache/skywalking-java/pull/169, which have been approved by its original author @carlfranz (https://github.com/carlfranz) through https://github.com/apache/skywalking-java/pull/265#issuecomment-1169876704
- Plugin codes are polished to adopt RESTEasy new APIs
- Test cases passed.
2022-06-29 23:10:55 +08:00
xzyJavaX 438d295423
update witness class in elasticsearch-6.x-plugin (#228)
* update witness class in elasticsearch-6.x-plugin

* update test cases in elasticsearch-6.x-plugin

* update the supported list

Co-authored-by: xzy <xiongzheyuan@shouqianba.com>
2022-06-24 09:17:37 +08:00
吴晟 Wu Sheng f8deb7c30b
Fix CI through clear context forcedly. (#231) 2022-06-23 18:59:47 +08:00
drgnchan a1c64a4edc
[ISSUE #9264] fix onHalfClose span operation name (#229)
* fix:onHalfClose using span name '/Request/onComplete' but not '/Request/onHalfClose'

* chore: update CHANGES.md

* fix:testcase with operation name '/Request/onComplete'

Co-authored-by: raymond.chen <raymond.chen@yijinin.com>
2022-06-23 16:55:08 +08:00
hutaishi dacdddb1b4
shenyu plugin fix IgnoredTracerContext traceId NPE (#215) 2022-06-20 22:02:03 +08:00
吴晟 Wu Sheng 8de87f5556
Begin 8.12.0 iteration (#214)
* [maven-release-plugin] prepare release v8.11.0

* [maven-release-plugin] prepare for next development iteration

* Create changes-8.11.0.md

* Update CHANGES.md
2022-06-18 12:05:56 +08:00
吴晟 Wu Sheng b83865f6cd
Optimize gRPC Log reporter to set service name for the first element (#206) 2022-06-15 23:17:14 +08:00
Oliver 88a7778637
[Polish] Code level polish (no logic change) (#166) 2022-06-13 10:02:08 +08:00
huangjikun c8840b010c
Avoid FileWriter scheduled task NPE (#205)
[Bug] fileOutputStream in FileWriter has been flushed and cleared when switching to a new file, which causes NPE. 

Fix https://github.com/apache/skywalking/issues/9201
2022-06-11 15:45:33 +08:00
ForestWang123 372d754030
Fix argument type name in postgresql plugin and add type name checking (#194)
* Fix argument type name of Array in postgresql-8.x-plugin and add type name checking in ArgumentTypeNameMatch and ReturnTypeNameMatch

* Update docs/en/setup/service-agent/java-agent/Java-Plugin-Development-Guide.md

* fix methods matchers in PgStatementInstrumentation

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2022-06-10 21:24:46 +08:00
吴晟 Wu Sheng d468806f43
Remove duplicate ServiceComb plugin codes. (#189)
Follow https://github.com/apache/skywalking-java/pull/127#issuecomment-1140764345
2022-05-31 10:46:53 +08:00
zhyyu e81638ea4e
Add `plugin.jdbc.trace_sql_parameters` into Configuration Discovery S… (#174)
Co-authored-by: yuzhongyu <yuzhongyu@cestc.cn>
2022-05-30 20:42:30 +08:00
Jiajing LU 1b30a0c088
Fix tcnative lib relocation (#186) 2022-05-30 15:54:39 +08:00
吴晟 Wu Sheng 7dcc695f3e
Clean up years ago legacy codes (#185) 2022-05-26 15:43:41 +08:00
andotorg 5bc1d1d1f1
Support `-Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector` in gRPC log report. (#182)
Co-authored-by: andotorg <xieyan9@tal.com>
2022-05-22 13:56:29 +08:00
wuwen 42377bb274
Fix Span not finished in gateway plugin when the gateway request timeout. (#175) 2022-05-14 20:45:36 +08:00
Brandon Fergerson 4b24b7d795
Add log endpoint name (#171) 2022-05-09 15:00:56 +08:00
hutaishi bd7912106a
Apache ShenYu (incubating) plugin support grpc,sofarpc,motan,tars (#170) 2022-05-07 10:23:23 +08:00
hutaishi d45818911d
gRPC plugin support trace client generic call (#168) 2022-05-05 11:07:49 +08:00
xzyJavaX edc69ed847
Fix NPE in elasticsearch plugin (#167) 2022-04-29 12:53:14 +08:00
Anders Guo 8ae57d25a0
Change the dateformat of logs to yyyy-MM-dd HH:mm:ss.SSS (#165) 2022-04-26 07:54:10 +08:00
zhyyu 88c4c71598
Add trace-sampler-cpu-policy-plugin (#135)
Co-authored-by: yuzhongyu <yuzhongyu@cestc.cn>
2022-04-25 18:27:53 +08:00
wuwen 4d76f3e2fb
Fix NPE in gateway plugin when the timer triggers webflux webclient call. (#164) 2022-04-25 09:28:27 +08:00
lbc97 81ded4acf5
servicecomb 2.0 plugin (#127) 2022-04-22 18:45:35 +08:00
hutaishi 504f9c415b
[Feature] [ShenYu]<Apache ShenYu (incubating) plugin support dubbo proxy>(#8869) (#162) 2022-04-21 17:43:50 +08:00
Cool-Coding cc42b50047
Remove redundant 'shade.package' property(#8904) (#160)
Co-authored-by: 杨光永 yangguangyong <riguang2007@gmail.com>
2022-04-19 15:11:23 +08:00
Hoshea Jiang 65032a9b48
Add layer field to event when reporting (#159) 2022-04-18 16:24:43 +08:00
Brandon Fergerson 9125933f56
instance properties bug fix (#157) 2022-04-16 13:38:00 +08:00
吴晟 Wu Sheng 0ac754730c
Begin 8.11.0 iteration (#155) 2022-04-13 08:51:17 +08:00
xu1009 46d99c5d69
Support default database(not set through JDBC URL) in mysql-5.x plugin (#154) 2022-04-12 22:30:19 +08:00
Cool-Coding a5ccbca693
[Feature] Add JDK ThreadPoolExecutor plugin(#8743) (#146) 2022-04-12 20:12:54 +08:00
hutaishi fab9ce53bd
Add skywaliking plugin for support Apache ShenYu (incubating) gateway (#8796) (#147) 2022-04-10 22:39:32 +08:00
Oliver 3c8e5347f5
Optimize document and fix typo (#148) 2022-04-10 20:17:02 +08:00
Cool-Coding 23c724658a
Fix Grpc 1.x plugin could leak context due to gRPC cancelled (#140) 2022-04-06 22:43:21 +08:00
Oliver fb1983937e
[Chore] Fix comment's grammar and modifier's order (#138) 2022-04-04 20:34:10 +08:00
xiarixigua 5607f87a54
Fix the bug that maybe causing memory leak and repeated traceId when use gateway-2.1.x-plugin (#133) 2022-03-31 13:11:43 +08:00
Oliver 6eac49dd23
Remove unnecessary InterruptedException catch (#130) 2022-03-26 22:14:03 +08:00
吴晟 Wu Sheng 233cce5bb6
Make sure the parent endpoint from existing first ENTRY span (#129)
* Make sure the parent endpoint in tracing context from existing first ENTRY span, rather than first span only.
2022-03-25 18:58:11 +08:00
吴晟 Wu Sheng 8a0f79743c
Make sure Tomcat thread plugin working in Tomcat 9 (#128) 2022-03-24 17:02:37 +08:00
吴晟 Wu Sheng b3ab1aed81
Add cluster concept to the configuration, and enhance namespace concept (#123)
* [Important] Namespace represents a subnet, such as kubernetes namespace, or 172.10.*.*. Make namespace concept as a part of service naming format.
* [Important] Add cluster concept, also as a part of service naming format. The cluster name would be
    1. Add as {@link #SERVICE_NAME} suffix.
    2. Add as exit span's peer, ${CLUSTER} / original peer
    3. Cross Process Propagation Header's value addressUsedAtClient[index=8] (Target address of this request used on the client end).
* [Breaking Change] Remove deprecated `agent.instance_properties` configuration.
  Recommend `agent.instance_properties_json`.
* The namespace and cluster would be reported as instance properties, keys are `namespace` and `cluster`. Notice, if
  instance_properties_json includes these two keys, they would be overrided by the agent core.
* [Breaking Change] Remove the namespace from `cross process propagation` key.
2022-03-12 22:33:18 +08:00
Brandon Fergerson f328380fbd
Add graphql v16+ plugin (#121) 2022-03-06 13:30:05 +08:00
Brandon Fergerson 9ec0940ad9
Renamed graphql-12.x-plugin to graphql-12.x-15.x-plugin (#120) 2022-03-06 12:59:44 +08:00
Brandon Fergerson f29d1f72f8
fix broken cross process (#119) 2022-03-06 07:20:07 +08:00
Brandon Fergerson 5014529708
Vertx 4 Core Plugin (#118) 2022-03-05 23:22:44 +08:00
Zimmem 2bd58bce7a
fix the trace breaking bugs in WebFlux server and WebClient(#114)
* Fix the bug that maybe generate multiple traces when invoking HTTP requests by Spring WebFlux server and WebClient.
2022-03-01 20:47:18 +08:00
Brandon Fergerson bf126a6afb
Add witness classes to graphql and vertx-core-3.x plugins (#113) 2022-03-01 10:55:11 +08:00
洪阿南 9efec16c1b
fix Dubbo3.x Context problem #8525 (#110) 2022-02-25 12:08:57 +08:00
AlexQin f0c22f32dd
Ignore the synthetic constructor created by the agent (#111)
* Resolves #8532, ignored the synthetic constructor created by java agent

Co-authored-by: qinjunjie <qinjunjie@jiuqi.com.cn>
2022-02-16 18:09:09 +08:00
xiaojianjun 00cf97e425
[Feature] Support collecting database connection pool metric,support dbcp2/druid/hikari (#96)
* [Feature] Support collecting database connection pool metric,support druid/hikari #8450

* [Feature] Support collecting database connection pool metric,support druid/hikari #8450

* [Feature] Support collecting database connection pool metric,support druid/hikari/dbcp2 #8450
2022-02-11 15:02:57 +08:00
wallezhang a48a16b6d6
Add plugin to support google guava EventBus (#107)
* feat: Add Guava EventBus plugin
* refactor: Remove serviceComb 1.0.0 from the test matric to avoid the influence of guava-event-bus plugin on scenario test results.
2022-02-10 20:24:17 +08:00
吴晟 Wu Sheng 4c71b72817
Remove plugin for ServiceComb Java Chassis 0.x with plugin tests. (#108) 2022-02-09 19:35:35 +08:00
xu1009 add2bbf208
Feature/support tomcat thread pool (#105) 2022-02-07 08:08:43 +08:00
xu1009 65bfd386ee
change Z (#102) 2022-01-30 00:00:00 +08:00
xu1009 8e3213bd2c
Support thread pool metric collect (#95)
Co-authored-by: litexu <litexu@tencent.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2022-01-29 15:45:46 +08:00
吴晟 Wu Sheng 395ce4f86a
Release 8.9.0 and set next version to 8.10.0 (#101)
* [maven-release-plugin] prepare release v8.9.0

* [maven-release-plugin] prepare for next development iteration
2022-01-28 21:23:43 +08:00
Dachuan J fd1f4fe609
Support for ShardingSphere 5.0.0 (#98)
* Update ShardingSphere to 5.0.0
* Change docs
2022-01-28 10:57:23 +08:00
ArjenDavid-sjtu 8a1dae348c
Support configuration to collect redis parameters for jedis plugin (#91)
Co-authored-by: 温嘉鸣 <wenjiaming@shouqianba.com>
2022-01-14 00:50:40 +08:00
xu1009 634cf279a9
Support collecting metrics of ZGC (#89)
Co-authored-by: litexu <litexu@tencent.com>
2022-01-13 15:11:00 +08:00
吴晟 Wu Sheng 7b160b5fec
Follow protocol grammar fix `GCPhrase -> GCPhase` (#90) 2022-01-12 23:10:58 +08:00
wuwen dfda1aafca
Compatible with the versions after dubbo-2.7.14 (#88)
The ```rpcContext.getAttachments()``` method returns is a copy Map
2022-01-12 19:36:15 +08:00
Ze 96ea77cf8f
Fix the bug that httpasyncclient-4.x-plugin puts the dirty tracing context in the connection context (#86) 2021-12-21 11:16:26 +08:00
PepoRobert 61e0e6de7b
Fix httpasyncclient-4.x-plugin's memory leak risk (#85) 2021-12-19 15:16:09 +08:00
Daniel Qian ff5de395a0
Enhance `returnedObj` expression to support Array, List and Map (#84)
* Enhance `returnedObj` expression to support Array, List and Map for apm-customize-enhance-plugin and `@Tag`

* update doc & add UnitTest for @Tag annotation

* update e2e test accordingly
2021-12-15 15:00:22 +08:00
Daniel Qian bc90371daa
Add returnedObj expression support for apm-customize-enhance-plugin (#83)
* issue #8292, add returnedObj expression support for apm-customize-enhance-plugin

* update apm-customize-enhance-plugin use plugin V2 API
2021-12-14 22:34:25 +08:00
geekymv 2ba2e1964d
Fix comments (#82) 2021-12-10 20:28:33 +08:00
DominikHubacek 438f287961
Fix <TracePathMatcher should match pattern "**" with paths end by "/"> (#81)
Co-authored-by: Dominik Hubacek <dominik.hubacek@student.tuke.sk>
Co-authored-by: Kanro <higan@live.cn>
2021-12-10 19:45:39 +08:00
tedli ee5bb80fc3
dubbo3 plugin support (#73) 2021-12-10 14:35:30 +08:00
wallezhang 2557749617
feat: Support version 2.8 and 2.9 of pulsar client (#76)
* feat: Support version 2.8.0+ of pulsar client

* refactor: Rename pulsar-plugin to pulsar-2.2-2.7-plugin
2021-12-06 17:25:04 +08:00
BuYan 3c967c146b
[#8227] adjust trySampling() comments (#80) 2021-12-02 16:40:16 +08:00
Daniel Qian 3b93a9c398
Optimize ProfileTaskChannelService (#78)
related issue  https://github.com/apache/skywalking/issues/8221
1. Avoid ProfileTaskChannelService.addProfilingSnapshot throw IllegalStateException(Queue full)
2. Increase ProfileTaskChannelService.snapshotQueue default size from 50 to 4500
2021-12-02 15:14:34 +08:00
Jared Tan b169ef3cdd
Support set instance properties in json format (#67)
* set instance properties in json format: agent.instance_properties_json

* add docs.

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

* polish and add e2e.

* update

* Update test/e2e/case/expected/service-instance.yml

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>

* Update apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/util/InstanceJsonPropertiesUtil.java

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>

* update

* update SW_INSTANCE_PROPERTIES_JSON

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2021-11-07 18:51:34 +08:00
will2020-power 1308d3c0ae
[Enhance]For trace CompletableFuture thenApply or thenAccept (#60) 2021-11-01 21:36:34 +08:00
Jiajing LU c17acbe552
Support Jedis' Transaction and fix duplicated enhancement (#57) 2021-10-28 09:33:41 +08:00
wankai123 ec1b7a19a4
Initialize 8.9.0 iteration (#59) 2021-10-27 22:57:09 +08:00
cnScarb 30fb81a6de
fix rocketmq message header properties garbled characters issue (#54) 2021-10-27 09:16:27 +08:00
xu1009 9101f691fb
Add okhttp2.x plugin (#49)
Co-authored-by: litexu <litexu@tencent.com>
2021-10-25 22:40:37 +08:00
Daming fbdfc42b4d
add e2e test for kafka transporter (#42) 2021-10-18 09:46:16 +08:00
吴晟 Wu Sheng 71dd60d5e8
Fix instrumentation v2 API doesn't work for constructor instrumentation. (#51) 2021-10-13 22:56:38 +08:00
xu1009 0f6276b71c
Add kylin jdbc plugin (#45) 2021-10-12 21:35:58 +08:00
Jiajing LU 2ecdc18901
Fix version compatibility for JSON-RPC4J Plugin (#50) 2021-10-12 17:33:59 +08:00
wallezhang 813fc31bd2
Feature add clickhouse jdbc plugin (#41) 2021-10-11 11:37:58 +08:00
CharliePu 5133faab4a
The httpasyncclient-4.x-plugin does not take effect every time. (#40) 2021-09-29 17:37:47 +08:00
业余布道师 77c4eb4edc
Add an agent plugin to support Jackson (#39) 2021-09-27 17:25:32 +08:00
wankai123 3997f02560
Format Springmvc & Tomcat EntrySpan operation name to `METHOD:URI` (#37) 2021-09-26 15:04:13 +08:00
wuguanyu 1b90f6892b
fix NumberFormat exception in MysqlURLParser (#36)
Delegate @ascrutae 's approval, his GitHub account has an issue for now.
2021-09-25 20:59:49 +08:00
业余布道师 c5657e83b3
Add Fastjson plugin (#35) 2021-09-24 18:05:47 +08:00
CharliePu 8b0f0e1bb7
Support for Apache HttpClient 5 plugin (#31) 2021-09-24 12:55:38 +08:00
Daming 7d36faaf0f
Add Kafka LogReporter and make grpc log reporter sharing grpc channel with reporters (#20) 2021-09-23 10:50:34 +08:00
furaul 43839e02aa
Fix a tracing context leak in SpringMVC plugin (#34)
* Once the springMVC span is created in beforeMethod, it must be stopped in afterMethod. Or it may cause memory leak.

Authored-by: furao <furao@didiglobal.com>
2021-09-22 21:20:02 +08:00
业余布道师 3e97740036
Add HikariCP connection pool plug-in. (#29) 2021-09-20 15:21:57 +08:00
dashanji bb8f6d2e21
fix agent.config (#28) 2021-09-20 09:14:00 +08:00
业余布道师 26f1d986a2
Add plugin for Alibaba Druid connection pool. (#27) 2021-09-19 22:52:32 +08:00
Jiajing LU a7a74a4067
Chore: Add benchmark and improve docs for exception-ignore plugin (#25)
* add benchmark and improve docs

Signed-off-by: Megrez Lu <lujiajing1126@gmail.com>

* modify changelog and copy benchmark results to the docs
2021-09-14 16:38:54 +08:00
zifeihan 0e45ed0b13
Add thrift plugin support thrift TMultiplexedProcessor. (#22) 2021-09-14 09:31:24 +08:00
lpcy f191953689
fix multi-db-instance on same host port (#18) 2021-09-04 22:03:25 +08:00
Darcy c872adc20c
optimize lettuce plugin (#17) 2021-09-02 20:38:55 +08:00
Daming 2b51932055
Update TLSChannelBuilder.java (#16) 2021-09-01 07:54:17 +08:00
Daming dd0d8afe88
Support mTLS for gRPC channel (#15) 2021-08-31 15:56:30 +08:00
吴晟 Wu Sheng 5b7cf51f43
Set up release process and make release doc ready. (#11)
* Set up release process and make release doc ready.

* Fix missing license files.

* Fix link check skip rules.

* Add a new pattern.
2021-08-27 18:11:57 +08:00
吴晟 Wu Sheng fc79937619
Doc polish, remove unrelated documents and fix source code LICENSE (#5) 2021-08-27 10:08:36 +08:00
kezhenxu94 a6b174a09d
Set up CI and clean up (#3) 2021-08-27 07:50:30 +08:00
吴晟 Wu Sheng 6950bb137f
Rename common modules. (#2) 2021-08-27 00:27:39 +08:00
Wu Sheng 00b5149ecf Remove unnecessary moduels 2021-08-26 22:03:53 +08:00
吴伟杰 e6447d5175
Move shardingsphere plugins into one folder (#7546) 2021-08-26 18:43:39 +08:00
吴晟 Wu Sheng db2bc93573
Separate agent docs to avoid long single page. (#7537) 2021-08-23 20:10:01 +08:00
Daming a2e011f9b0
Kafka extra producer configuration enhancement (#7526) 2021-08-23 17:16:19 +08:00
kezhenxu94 6bb4d35ce8
Add all agent config to `agent.conf` file for convenient containerization use cases (#7470)
* Add all agent config to `agent.conf` file for convenient containerization use cases

* Fix name and default value
2021-08-18 10:25:28 +08:00
hailin0 ce45397c56
Fix kafka-reporter-plugin shade package conflict (#7463)
* Fix kafka-reporter-plugin shade package conflict

Don't shade lz4, snappy or zstd package because they call native library files.
2021-08-15 21:55:45 +08:00
wallezhang 4b66f1e0a7
fix: Fix MultiScopesAnalysisListener#setPublicAttrs log warn frequently (#7271)
* fix: Fix MultiScopesAnalysisListener#setPublicAttrs log warn frequently. #6562

1. Rename current STATUS_CODE to HTTP_RESPONSE_STATUS_CODE, real tag key should be http.status_code.
2. Add a new string tag RPC_RESPONSE_STATUS_CODE to hold all string type value tag. The key is `rpc.status_code`.
3. At the backend, keep responseCode for HTTP_RESPONSE_STATUS_CODE tag, but add @Deprecated. Also, add httpResponseStatusCode(a duplicate of responseCode) and rpcStatusCode(for RPC_RESPONSE_STATUS_CODE) fields for OAL.

* Modify `Tags.STATUS_CODE` field name to `Tags.HTTP_RESPONSE_STATUS_CODE` and type from `StringTag` to `IntegerTag`, add `Tags.RPC_RESPONSE_STATUS_CODE` field to hold rpc response code value.

* Add `rpcStatusCode` for `rpc.status_code` tag in the OAL objects. The `responseCode` field is marked as deprecated and replaced by `httpResponseStatusCode` field. 

* Tag `status_code` is still supported in the backend for forward compatbility. Will be removed one year later.

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2021-08-14 20:17:46 +08:00
吴晟 Wu Sheng dc05539361
DataCarrier changes a `#consume` API to add properties as a parameter to initialize consumer (#7452) 2021-08-13 14:05:10 +08:00
ThisSeanZhang 0b418bf379
Support Multiple DNS period resolving mechanism (#7398) 2021-08-02 11:16:21 +08:00
吴晟 Wu Sheng 1c5e22a7be
Begin 8.8.0 iteration (#7395)
* [maven-release-plugin] prepare release v8.7.0

* [maven-release-plugin] prepare for next development iteration
2021-07-30 23:01:09 +08:00
wallezhang b74778f0f4
fix: fix spring gateway plugin npe (#7389) 2021-07-29 21:08:27 +08:00
844067874 7ada0096ad
when client invoke cancel,it will trigger onCancel,not trigger onComplete (#7370)
Co-authored-by: sulie <sulie@gaoding.com>
2021-07-26 15:53:25 +08:00
ArjenDavid-sjtu 8820287f38
Improve okhttp plugin performance by optimizing Class.getDeclaredField(). (#7364)
Simple polish only.
2021-07-23 22:00:24 +08:00
Cool-Coding a7abb1f590
remove the logic of generated instance name in KafkaServiceManagementServiceClient prepare phase(#7357) (#7358) 2021-07-22 22:41:22 +08:00
吴伟杰 da9426dd6e
Upgrade agent plugin for ElasticJob 3.0.0 GA version (#7345)
* Upgrade agent plugin for ElasticJob 3.0.0 GA version.

* Remove 3.0.0 alpha support.
2021-07-22 15:30:00 +08:00
吴伟杰 06e589fab0
Remove plugins for ShardingSphere legacy and unstable versions (#7323)
Remove the following plugins due to they are legacy and unstable releases.
1. sharding-jdbc-1.5.x-plugin
2. sharding-sphere-4.x-rc3-plugin
3. sharding-sphere-4.x-plugin (This is for RC1 and RC2)

To people who want to use these removing versions, you still could copy the plugins from SkyWalking's 8.6.0 release to the '/plugins' folder to activate, unless SkyWalking has some core level APIs upgrade. This is very rare to happen.
2021-07-18 20:35:54 +08:00
yujiaxinlong aa4ee27d4a
fix gateway plugin async finish repeatedly when fallback configured (#5886)
When there is a fallback in webflux (like a hystrix fallback or a webflux fallback method that involves visiting a new URL). This interceptor would be invoked twice, one for origin request and another for fallback request. The ServerWebExchange for these two aren't exactly the same one, but the former one is a delegate inside of the latter one, thus, they share the same attributes.

The problem of the old code is that get the span from attributes within the execution of Mono would get span for the latter request twice. so just move this part of code out could solve the problem.

It seems impossible to make the mono chain work like expected. So add a check about whether the best matching pattern really matches the URL. This check code is how webflux generating the best match pattern,
2021-07-17 20:50:57 +08:00
Lu Jiajing cd029df360
Chore: polish methods naming for Spring Kafka (#7320) 2021-07-17 17:09:51 +08:00
Elliot Duan 6228d450e1
support Kafka SASL login module. (#7281)
Co-authored-by: Elliot Duan <elliot.duan@homecreditcfc.cn>
2021-07-11 22:39:51 +08:00
Ax1an 58dce444fc
Enhance the compatibility of `mysql-8.x-plugin` plugin. (#7261)
hostInfo.getDatabaseUrl() result in version 8.0.19 or above:

jdbc:mysql:loadbalance://**internally_generated**1620805591623**

hostInfo.getDatabaseUrl() result in version 8.0.18 or below:

jdbc:mysql:replication://127.0.0.1:3306,127.0.0.1:3306,127.0.0.1:3306/mer_goods_admin_sit?useSSL=true&useUnicode=true&autoReconnect=true&rewriteBatchedStatements=TRUE&allowMultiQueries=true&serverTimezone=GMT%2B8
2021-07-08 17:55:00 +08:00
whl12345 9e022d1a73
Provide plugin for Guava Cache (#7235) 2021-07-08 11:58:09 +08:00
Switch 4067fba2ab
Add some new thread metric and class metric to JVMMetric (#7230) (#7243) 2021-07-07 16:30:55 +08:00
mrproliu 156678a8bf
Move ehcache-2.x plugin as optional (#7236) 2021-07-03 16:56:05 +08:00
liqiangz 0f62d9289f
Add agent plugin to support Sentinel (#7190) 2021-07-03 00:20:14 +08:00
Lin1997 58a370100a
Fix issue that webfluxwebclient plugin async finish repeatedly in multi thread (#7229) 2021-07-02 18:24:25 +08:00
AngryMills 04bb6673b8
support parameter collection for sqlserver (#7217) 2021-07-02 10:27:10 +08:00
hn abd36dfc94
fix some method exception error (#7210) 2021-07-01 10:59:03 +08:00
吴伟杰 0975809e43
Add an agent plugin for ShardingSphere 5.0.0-beta (#7171) 2021-06-30 21:00:20 +08:00
844067874 e1aad420db
fix the response time of gRPC is not right. (#7179) 2021-06-28 18:55:27 +08:00
tangxqa 3541c32530
Update agent.config (#7163) 2021-06-23 16:43:39 +08:00
wallezhang 1bc69370bf
feat: add neo4j-4.x-plugin (#7099) 2021-06-22 15:36:51 +08:00
吴晟 Wu Sheng e21cb196fc
Remove deprecated nameResolverFactory method. (#7132) 2021-06-18 20:14:51 +08:00
zhyyu 4698681e7c
Support authentication for log report channel. (#7131) 2021-06-18 16:09:55 +08:00
Ax1an 402902f75c
Agent supports the collection of JVM arguments and jar dependencies information. (#7069) 2021-06-17 15:30:44 +08:00
wallezhang 1c5dab8463
refactor: EntrySpan and ExitSpan support modifying attributes in async mode (#7086) 2021-06-10 13:11:00 +08:00
吴晟 Wu Sheng 5eb1021639
Initialize 8.7.0 iteration (#7078) 2021-06-08 07:41:09 +08:00
Leon Yang d5348c93de
Fix: TraceIgnorePathPatterns can't set empty value (#7059) 2021-06-02 23:18:31 +08:00
Daming 38c182e4c0
Kafka transporter code polish (#7032) 2021-06-02 12:56:00 +08:00
Lu Jiajing 7ae2b74a64
Optimize Class.getDeclaredField in Feign plugin (#7017) 2021-05-26 19:01:16 +08:00
Darcy f6a0efdecd
Fix bug for Kafka report plugin (#7016) 2021-05-26 16:53:28 +08:00
muyun12 e9b9be4ab5
Fix jdk-threading-plugin memory leak #7001 (#7003) 2021-05-26 06:47:47 +08:00
Lu Jiajing b732ff35a7
Fix ClassCast issue for RequestHolder/ResponseHolder (#6973) 2021-05-22 17:06:13 +08:00
吴晟 Wu Sheng 5a74f631a8
Add v2 plugin API doc. (#6984) 2021-05-20 19:46:34 +08:00
Daming 015d3877cb
Introduce method interceptor v2 (#6937) 2021-05-20 13:36:13 +08:00
zifeihan 97c42d2f86
Fixed part of the dynamic configuration of ConfigurationDiscoveryService that does not take effect under certain circumstances. (#6975) 2021-05-20 07:52:49 +08:00
Ax1an fe79a49789
Fix possible memory leaks in mybatis plugin. (#6913) 2021-05-10 21:21:57 +08:00
wallezhang 5f26710d34
fix pulsar plugin message listener error with multi partitions topic (#6918) 2021-05-10 17:47:05 +08:00