Commit Graph

501 Commits

Author SHA1 Message Date
吴晟 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
xu1009 add2bbf208
Feature/support tomcat thread pool (#105) 2022-02-07 08:08:43 +08:00
吴晟 Wu Sheng 9600fdf06d
Fix typo (#104)
* Fix typo

* Update CHANGES.md
2022-01-30 12:18:32 +08:00
吴晟 Wu Sheng 8dea8a915b
Update CHANGES.md (#103) 2022-01-30 11:44:30 +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
吴晟 Wu Sheng 5bd41ec0af
Bump up gRPC to 1.44.0, fix relative CVEs. (#100) 2022-01-28 16:01:44 +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
吴晟 Wu Sheng 592fe29d13
Lock the Spring version in plugin test. (#99)
* Lock the Spring version in plugin test.
2022-01-28 09:33:51 +08:00
kezhenxu94 75cc77de10
Migrate base images to Temurin and add images for ARM (#97) 2022-01-26 16:09:44 +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
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
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
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
Daniel Qian ce609dbabe
Add doc about system environment variables to configurations.md (#79) 2021-12-02 11:24:49 +08:00
kezhenxu94 c49c9d3f52
Correct the CHANGELOG about gRPC version (#75) 2021-11-29 17:33:55 +08:00
kezhenxu94 005e334dbc
Upgrade grpc-java to 1.42.1 and protoc to 3.19.1 to allow using native Mac osx-aarch_64 artifacts (#74) 2021-11-29 11:59:17 +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
kezhenxu94 8eceb1166f
Build CLI from Docker instead of source codes, add alpine based Docker image (#65) 2021-11-02 15:43:08 +08:00
will2020-power 1308d3c0ae
[Enhance]For trace CompletableFuture thenApply or thenAccept (#60) 2021-11-01 21:36:34 +08:00
吴晟 Wu Sheng 0758e7c569
Add FAQ about `Why is -Djava.ext.dirs not supported?` (#63) 2021-10-31 21:48:37 +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
吴晟 Wu Sheng 2fd1853d8c
Add JDK17 supported declaration. (#52) 2021-10-16 20:40:42 +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