Commit Graph

1311 Commits

Author SHA1 Message Date
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