Commit Graph

738 Commits

Author SHA1 Message Date
吴晟 Wu Sheng b9dd0f24b7
Update version to 9.0.0 with new change logs. (#563) 2023-06-25 09:18:28 +08:00
Gong Dewei 267aba8fad
Improve bytebuddy class enhance for retransform classes (#561)
* SWAuxiliaryTypeNamingStrategy
Auxiliary type name pattern: <origin_class_name>$<name_trait>$auxiliary$<auxiliary_type_instance_hash>

* DelegateNamingResolver
Interceptor delegate field name pattern: <name_trait>$delegate$<class_name_hash>$<plugin_define_hash>$<intercept_point_hash>

* SWMethodNameTransformer
Renamed origin method pattern: <name_trait>$original$<method_name>$<method_description_hash>

* SWImplementationContextFactory
Method cache value field pattern: cachedValue$<name_trait>$<origin_class_name_hash>$<field_value_hash>
Accessor method name pattern:  <renamed_origin_method>$accessor$<name_trait>$<origin_class_name_hash>

Here is an example of manipulated enhanced class with new naming policies of auxiliary classes, fields, and methods

```java
 import sample.mybatis.controller.HotelController$sw$auxiliary$19cja42;
 import sample.mybatis.controller.HotelController$sw$auxiliary$p257su0;
 import sample.mybatis.domain.Hotel;
 import sample.mybatis.service.HotelService;

 @RequestMapping(value={"/hotel"})
 @RestController
 public class HotelController
 implements EnhancedInstance {
     @Autowired
     @Lazy
     private HotelService hotelService;
     private volatile Object _$EnhancedClassField_ws;

     // Interceptor delegate fields
     public static volatile /* synthetic */ InstMethodsInter sw$delegate$td03673$ain2do0$8im5jm1;
     public static volatile /* synthetic */ InstMethodsInter sw$delegate$td03673$ain2do0$edkmf61;
     public static volatile /* synthetic */ ConstructorInter sw$delegate$td03673$ain2do0$qs9unv1;
     public static volatile /* synthetic */ InstMethodsInter sw$delegate$td03673$fl4lnk1$m3ia3a2;
     public static volatile /* synthetic */ InstMethodsInter sw$delegate$td03673$fl4lnk1$sufrvp1;
     public static volatile /* synthetic */ ConstructorInter sw$delegate$td03673$fl4lnk1$cteu7s1;

     // Origin method cache value field
     private static final /* synthetic */ Method cachedValue$sw$td03673$g5sobj1;

     public HotelController() {
         this(null);
         sw$delegate$td03673$ain2do0$qs9unv1.intercept(this, new Object[0]);
     }

     private /* synthetic */ HotelController(sw.auxiliary.p257su0 p257su02) {
     }

     @GetMapping(value={"city/{cityId}"})
     public Hotel selectByCityId(@PathVariable(value="cityId") int n) {
         // call interceptor with auxiliary type and parameters and origin method object
         return (Hotel)sw$delegate$td03673$ain2do0$8im5jm1.intercept(this, new Object[]{n}, new HotelController$sw$auxiliary$19cja42(this, n), cachedValue$sw$td03673$g5sobj1);
     }

     // Renamed origin method
     private /* synthetic */ Hotel sw$origin$selectByCityId$a8458p3(int cityId) {
/*22*/         return this.hotelService.selectByCityId(cityId);
     }

     // Accessor of renamed origin method, calling from auxiliary type
     final /* synthetic */ Hotel sw$origin$selectByCityId$a8458p3$accessor$sw$td03673(int n) {
         // Calling renamed origin method
         return this.sw$origin$selectByCityId$a8458p3(n);
     }

     @Override
     public Object getSkyWalkingDynamicField() {
         return this._$EnhancedClassField_ws;
     }

     @Override
     public void setSkyWalkingDynamicField(Object object) {
         this._$EnhancedClassField_ws = object;
     }

     static {
         ClassLoader.getSystemClassLoader().loadClass("org.apache.skywalking.apm.dependencies.net.bytebuddy.dynamic.Nexus").getMethod("initialize", Class.class, Integer.TYPE).invoke(null, HotelController.class, -1072476370);
         // Method object
         cachedValue$sw$td03673$g5sobj1 = HotelController.class.getMethod("selectByCityId", Integer.TYPE);
     }
 }
```

Auxiliary type of Constructor : 
```java
class HotelController$sw$auxiliary$p257su0 {
}
```

Auxiliary type of  `selectByCityId` method: 
```java
class HotelController$sw$auxiliary$19cja42
implements Runnable,
Callable {
    private HotelController argument0;
    private int argument1;

    public Object call() throws Exception {
        return this.argument0.sw$origin$selectByCityId$a8458p3$accessor$sw$td03673(this.argument1);
    }

    @Override
    public void run() {
        this.argument0.sw$origin$selectByCityId$a8458p3$accessor$sw$td03673(this.argument1);
    }

    HotelController$sw$auxiliary$19cja42(HotelController hotelController, int n) {
        this.argument0 = hotelController;
        this.argument1 = n;
    }
}
```
2023-06-24 20:50:10 +08:00
xzyJavaX b72e984289
fix npe in guava eventbus plugin (#559)
Co-authored-by: 熊哲源 <xiongzheyuan@shouqianba.com>
2023-06-21 14:32:18 +08:00
xiaqi1210 3497199f98
update changes.md for Fixing issue #10925 (#558) 2023-06-16 23:03:39 +08:00
gzlicanyi 7af3f06713
Fix the thread safety bug of finishing operation for the span named "SpringCloudGateway/sendRequest" (#555) 2023-06-16 22:25:50 +08:00
weihubeats 6621f82739
add RocketMQ 5.x plugin (#536) 2023-06-07 22:05:08 +08:00
gzlicanyi 5002da5a13
Feature/fix spring data hadoop (#546) 2023-06-06 16:21:03 +08:00
xu1009 af4ddc61c9
Support jetty 11 (#545) 2023-06-06 09:39:34 +08:00
xu1009 97337063f8
Support jdk17 zgc (#541) 2023-06-01 13:06:15 +08:00
吴晟 Wu Sheng d074a0a063
Release 8.16.0 and set 8.17.0-SNAPSHOT for next iteration (#543) 2023-05-31 22:46:05 +08:00
gzlicanyi dc602b7d04
Fix deserialization of kafka producer json config in the kafka-reporter-plugin. (#542) 2023-05-31 21:27:18 +08:00
GuiSong c04a714725
[Feature] Support to configure custom decode method for kafka configurations (#540) 2023-05-31 18:03:35 +08:00
gzlicanyi ddc68e27e2
Fix the gson dependency in the kafka-reporter-plugin. (#538) 2023-05-26 07:02:18 -04:00
xu1009 9e26f26f0b
Support monitor grizzly thread pool (#533) 2023-05-25 19:30:35 -04:00
Cathy de730d7dde
Fix possible IllegalStateException when using Micrometer (#531) 2023-05-19 08:07:24 +08:00
xu1009 28fcf17642
Support grizzly web server trace (#528) 2023-05-15 08:18:52 +08:00
guoxiolong 4eb07e3c15
Add JBoss support through mount agent by ModuleClassloader. (#527)
- Change the classloader to locate the agent path in AgentPackagePath, from `SystemClassLoader` to AgentPackagePath's loader.
2023-05-09 23:34:03 +08:00
xu1009 6e6aafe310
fix jedis can not get host info when use jedis 3.3.x+ (#526) 2023-05-08 22:50:17 +08:00
Jiajing LU 04603b2027
Chore: fix exclusion rules in maven-shade-plugin (#525)
* exclude checkerframework j2objc, and protos
2023-05-08 12:12:02 +08:00
破晓长空 e09809f318
Fix ClassCastException when mssql inserting data (#10741) (#524) 2023-05-05 17:05:59 +08:00
xu1009 dc9f7d130d
support jersey rest framework (#520) 2023-05-02 17:19:15 +08:00
xu1009 3ad9f249d9
support jetty server work thread pool metric monitor (#517)
* support jetty server work thread pool metric monitor

Co-authored-by: litexu <litexu@tencent.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2023-05-02 16:34:06 +08:00
xu1009 9144a06ca1
clickhouse-jdbc-plugin support trace sql parameters when enable plugin.jdbc.trace_sql_parameters (#515)
Co-authored-by: litexu <litexu@tencent.com>
2023-04-25 18:12:19 +08:00
xu1009 02dad132b2
Support forkjoinpool plugin (#505) 2023-04-17 17:45:09 +08:00
Jiajing LU e08c4583a3
Exclude synthetic methods for WitnessMethod (#504) 2023-04-14 17:23:47 +08:00
吴晟 Wu Sheng 7a6334d2b5
Begin 8.16.0 iteration (#501)
* [maven-release-plugin] prepare release v8.15.0

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

* Create changes-8.15.0.md

* Set changes.md for 8.16.0
2023-04-04 09:15:21 +08:00
吴晟 Wu Sheng f179b65994
Build a dummy(empty) javadoc of finagle and jdk-http plugins (#499)
* Build a dummy(empty) javadoc of finagle and jdk-http plugins

* Add javadoc check for the CI.
2023-04-03 15:24:31 +08:00
mrproliu 81afeddd08
Update the endpoint name format of the `Undertow` (#497) 2023-04-02 11:12:24 +08:00
xu1009 1f30e38864
Support MySQL plugin tracing SQL parameters when useServerPrepStmts (#489) 2023-03-28 22:45:55 +08:00
hyhyf c0b4447540
Fix a thread leak in `SamplingService` when updated sampling policy in the runtime. (#487) 2023-03-27 22:15:10 +08:00
SWHHEART e91514c634
Fix unexpected whitespace of the command catalogs in several Redis plugins. (#480) 2023-03-23 20:46:04 +08:00
mrproliu d357bdef7a
Support keep trace profiling when cross-thread (#479) 2023-03-14 17:55:28 +08:00
DarkerEcho f04866cf24
Fix thrift plugin generate duplicate traceid (#467) 2023-03-05 18:10:42 +08:00
xzyJavaX 122d0064f0
fix tomcat-10x-plugin and add test case to support tomcat7.x-8.x-9.x (#466) 2023-03-03 17:31:02 +08:00
weiyang.zhang e648ca2145
Adapt Armeria's plugins to the latest version 1.22.x (#459) 2023-02-26 21:25:43 +08:00
Chenfx-git 20c8b98cd9
Fix servicecomb plugin trace break in cse case (#460) 2023-02-23 15:35:59 +08:00
Kanro 6b35f06d15
Fix gRPC plugin not working for server side in some case (#457) 2023-02-15 16:38:24 +08:00
Kanro bca5c8e628
Refactor kotlin coroutine plugin with CoroutineContext (#453) 2023-02-14 18:10:21 +08:00
Superskyyy (AWAY, busy graduating | Debug 人) 5250ecfe2e
Fix oracle url parser ignoring actual port (#456)
* Fix oracle url parser missed case

* Add changelog
2023-02-14 03:22:01 -05:00
空青 9cb5a13d44
Add plugin to support clickhouse jdbc (#455)
* Add plugin to support clickhouse-jdbc-0.3.2.*
* Rename clickhouse-0.3.x-plugin to clickhouse-0.3.1-plugin
2023-02-12 22:50:19 +08:00
Kanro ad1389347a
Enhance kotlin coroutine plugin for stack tracing (#451) 2023-02-09 11:28:23 +08:00
2han9wen71an b4bf6fd75d
How to make SkyWalking agent works in `OSGI` environment? (#450) 2023-02-04 19:29:41 +08:00
吴晟 Wu Sheng 8dde931b72
Correct missing package name in native manual API docs. (#449) 2023-02-03 22:09:56 +08:00
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
alan 0d8f758bf0
fix CVE-2022-41915 (#434) 2022-12-28 17:26:25 +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 4b7af070b8
[doc] update change log (#407) 2022-12-08 07:51:21 +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 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
吴晟 Wu Sheng 91dfb707ec
Bump up byte-buddy to 1.12.19 (#388) 2022-11-18 10:40:08 +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
Jiajing LU 1ef7cb4117
Support plugin tests on arm64/v8(aarm) platforms (#379) 2022-11-08 22:02:16 +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
pg.yang 35a3f5a59b
Mention Virtual MQ support in the changelog (#374) 2022-11-03 22:13:54 +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
吴晟 Wu Sheng 5c23b38b18
Mention Virtual Cache support in the changelog (#370) 2022-10-29 12:36:37 +08:00
zhyyu f5f560b4a7
Add rocketmq plugin test scenarios (#361) 2022-10-28 20:45:27 +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
zhyyu 6d5bbe8e5f
Plugin-test configuration.yml dependencies support docker service command field (#357) 2022-10-19 21:21:59 +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
alan 54e3542406
Bump up grpc to 1.50.0 to fix CVE-2022-3171 (#350) 2022-10-18 00:08:51 +08:00
pg.yang d0b3eca4ee
Update `compose-start-script.template` to make compatible with new version docker compose (#348) 2022-10-16 20:27:08 +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
吴晟 Wu Sheng d0aa2c5165
Add docs for virtual database tags (#307)
* Add docs for virtual database tags

* Update CHANGES.md
2022-09-11 20:46:57 +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
pg.yang 62bb071824
Optimize ConfigInitializer to enhance map/list field field (#305)
* Optimize ConfigInitializer to output warning messages when the config value is truncated.
* Fix the default value of the Map field would merge rather than override by new values in the config.
* Support to set the value of Map/List field to an empty map/list.
* Update `configuration` doc about overriding default value as empty map/list accordingly.
2022-09-09 00:02:55 +08:00
pg.yang 618a899cfd
Support set/hashset/treeSet/arraylist/linkedlist types in the agent and plugin configurations (#304) 2022-09-07 17:52:18 +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
jmjoy 115bcc1a3f
Update plugin test document for logging. (#294) 2022-08-14 23:47:30 +08:00
Brandon Fergerson 3e71ae4cdd
fix: reconnection race condition (#290) 2022-08-08 22:42:11 +08:00
pg.yang 840e381181
Fix inconsistent description about configuration.yml (#289) 2022-08-07 07:54:42 +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
pg.yang 817d02c1b2
Update HttpURLConnection compatibility doc (#8133) (#285) 2022-07-19 22:57:32 +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
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
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
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
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
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
吴晟 Wu Sheng 07cc03a35f
Update CHANGES.md (#158) 2022-04-18 07:20:23 +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
Cool-Coding 23c724658a
Fix Grpc 1.x plugin could leak context due to gRPC cancelled (#140) 2022-04-06 22:43:21 +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
吴晟 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 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
Daming 18e5386b72
test: support to the custom base image by configuration (#122) 2022-03-07 20:50:57 +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 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
dashanji 74b130c827
add java agent injector link (#112) 2022-02-27 18:56:33 +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