Commit Graph

738 Commits

Author SHA1 Message Date
吴晟 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
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
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
吴晟 Wu Sheng 43f2069080
Upgrade byte-buddy to 1.11.18 (#30) 2021-09-23 11:42:52 +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
业余布道师 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 dd0d8afe88
Support mTLS for gRPC channel (#15) 2021-08-31 15:56:30 +08:00
吴晟 Wu Sheng fc79937619
Doc polish, remove unrelated documents and fix source code LICENSE (#5) 2021-08-27 10:08:36 +08:00
wankai123 be0f57ae28
Support k8s configmap grouped dynamic configurations (#7570)
* Support k8s configmap grouped dynamic configurations

* Support single config read from multiple configmaps
2021-08-26 15:30:11 +08:00
wankai123 abcd87f811
Support collection type in dynamic configuration core and add zookeeper implementation (#7509)
* Support grouped dynamic configurations in DCS.
Support zookeeper grouped dynamic configurations.

* change to @Slf4j

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2021-08-23 18:09:33 +08:00
Daming a2e011f9b0
Kafka extra producer configuration enhancement (#7526) 2021-08-23 17:16:19 +08:00
kezhenxu94 7b206458fe
Fix NPE when OAP nodes synchronize events with each other in cluster mode (#7531) 2021-08-23 13:18:21 +08:00
Fine0830 fb0f2cf1f1
sync ui (#7523) 2021-08-21 15:42:41 +08:00
吴晟 Wu Sheng c04b4e0e51
Fix distinct in Service/Instance/Endpoint query is not working. (#7482) 2021-08-18 20:30:15 +08:00
kezhenxu94 09cc0f96a7
Harden the security of Groovy-based DSL, MAL and LAL (#7485) 2021-08-18 18:17:43 +08:00
kezhenxu94 1af2e46e33
Add a new API to test log analysis language (#7475) 2021-08-18 16:40:25 +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
CharliePu 39d23c1678
Remove the duplicated tags to reduce the storage payload. (#7469) 2021-08-17 18:01:56 +08:00
王旺 77bf5de7f6
Polish otel receiver doc (#7464)
* modify receiver and vm-monitoring doc

* Polish the doc.

* Add changelog.

Co-authored-by: wang <wang@163.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2021-08-16 11:31:15 +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
probeyang 35dd15bfbf
Add component id and icon for Python falcon plugin (#7446) 2021-08-12 12:17:01 +08:00
Fine0830 18ae82f2d1
update changlog (#7445) 2021-08-12 09:58:58 +08:00
吴晟 Wu Sheng 6a241aed75
[Break Change] Remove endpoint name in backend log and browser log query (#7444)
* Remove page path in the browser log query condition.

* Remove endpoint name in the backend log query condition.
2021-08-12 09:44:19 +08:00
Jared Tan 375138887a
update jdk 11 in dockerfile and remove unused java_opts. (#7441)
* update jdk 11 and remove unused java_opts.
2021-08-11 19:27:25 +08:00
吴晟 Wu Sheng de6cae3429
[Break Change] Remove endpoint name in the trace query condition. (#7438)
* [Break Change] Remove endpoint name in the trace query condition.

* Fix a local UT error(MacOS only)
2021-08-11 16:27:10 +08:00
Kagaya 9a05ad4b42
Add component id for go-kratos & go-mysql (#7428) 2021-08-10 15:42:20 +08:00
Yihao Chen ac4330c0bc
Add a doc section for Python agent log reporter. (#7430) 2021-08-10 15:39:09 +08:00
kezhenxu94 85e22f5124
Fix issues in ES7.14 and add log cases to ES7.14 (#7429) 2021-08-10 15:36:53 +08:00
吴晟 Wu Sheng cc66254729
Remove statement, version, and endtime from segment entity. (#7427) 2021-08-10 00:05:06 +08:00
Halil Onur Çeçen bca62f63fa
Openapi-definitions file loader fix (#7417)
* excluded openapi-definitions resource folder

jar class loader comes before runtime config folder

* update CHANGES.md

* include openapi-definitions folder in bin packages.

Co-authored-by: Halil Onur Cecen <HalilOnur.Cecen@sahibinden.com>
2021-08-07 09:53:48 +08:00
wankai123 4e7d80fb88
Support Metric level function `serviceRelation` in `MAL` and binding envoy metrics into the topology. (#7399)
* Support Metric level function `serviceRelation` in `MAL`.
* Support envoy metrics binding into the topology.
* add istio args
* remove istio 1.7

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: Jared Tan <jian.tan@daocloud.io>
Co-authored-by: Zhenxu <kezhenxu94@apache.org>
2021-08-06 17:09:13 +08:00
Daming 9ecb9fd87c
add event http receiver (#7406) 2021-08-04 15:53:48 +08:00
Jared Tan 9b30d0edfd
fix not found error when refresh ui. (#7403)
* fix not found error when refresh ui.

* add CHANGES.md

* Update CHANGES.md

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2021-08-04 08:03:03 +08:00
吴晟 Wu Sheng 651f7f16ca
Fix CVE-2021-35515, CVE-2021-35516, CVE-2021-35517, CVE-2021-36090 (#7400) 2021-08-03 12:38:08 +08:00
ThisSeanZhang 0b418bf379
Support Multiple DNS period resolving mechanism (#7398) 2021-08-02 11:16:21 +08:00
吴晟 Wu Sheng 81f7be1315
Reset changelog for 8.8.0 (#7396) 2021-07-30 23:07:20 +08:00
Fine0830 b3f81acba3
sync ui (#7393) 2021-07-30 09:53:51 +08:00
wallezhang b74778f0f4
fix: fix spring gateway plugin npe (#7389) 2021-07-29 21:08:27 +08:00
Gao Hongtao 1f28d2036a
Add logging module to load log configuration dynamically (#7377)
* Add logging module to load log configuration dynamically

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
2021-07-29 19:55:22 +08:00
kezhenxu94 65e8ab3ecc
Log rate limit sampler rename `qps` to `rpm` (#7384) 2021-07-29 18:11:07 +08:00
wuwen 85669fb40f
Fix `GRPCLogClientAppender` no context warning. (#7385) 2021-07-29 16:52:52 +08:00
pkxiuluo ffc69dc6f3
ES storage support set order of index template. (#7378) 2021-07-27 20:13:31 +08:00
LEE ea76335527
Avoid "select *" query (#7372) 2021-07-27 15:50:55 +08:00
Switch 68e699550d
Add Thread and ClassLoader Metrics for the self-observability and otel-oc-rules (#7367)
* Add Thread and ClassLoader Metrics for the self-observability

* update CHANGES.md

* update OC receiver MAL settings
2021-07-25 07:32:03 +08:00
Jared Tan 90de9f9515
add sending Envoy Metrics to OAP example within envoy 1.19 and bump up to Envoy V3 api. (#7366)
* bump up envoy metrics service sinks version. and update envoy.yaml config for demo.
2021-07-23 22:59:51 +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
Ax1an 383e32b44b
Fix the persistent session timeout mechanism bug. (#7347) 2021-07-22 05:50:19 +08:00
Huang bf0e22d2c1
Fix IllegalArgumentException in PrometheusMetricConverter and NaN value samples in SampleFamily (#7349) 2021-07-21 23:14:49 +08:00
Ax1an 3704567b21
Fix possible version_conflict_engine_exception in bulk execution. (#7354) 2021-07-21 20:48:52 +08:00
吴晟 Wu Sheng bd23f263e6
Revert "Adjust the project structure of the alarm module" (#7342)
This reverts commit 62411964a4.
2021-07-20 19:47:22 +08:00
wankai123 a1c53bb866
doc: Add Self Observability service discovery (k8s) (#7339) 2021-07-20 18:02:51 +08:00
Jared Tan 62411964a4
update (#7340) 2021-07-20 16:27:26 +08:00