Commit Graph

403 Commits

Author SHA1 Message Date
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
AngryMills 04bb6673b8
support parameter collection for sqlserver (#7217) 2021-07-02 10:27:10 +08:00
吴伟杰 0975809e43
Add an agent plugin for ShardingSphere 5.0.0-beta (#7171) 2021-06-30 21:00:20 +08:00
吴晟 Wu Sheng 4374fac4cb
Fix broken image path for mssql server in testing. (#7211) 2021-06-30 17:55:38 +08:00
844067874 e1aad420db
fix the response time of gRPC is not right. (#7179) 2021-06-28 18:55:27 +08:00
wallezhang 1bc69370bf
feat: add neo4j-4.x-plugin (#7099) 2021-06-22 15:36:51 +08:00
kezhenxu94 ab6285c5a4
Add JDK 16 to test matrix, move bom to backend profile (#7139) 2021-06-20 23:24:02 +08:00
Lu Jiajing b732ff35a7
Fix ClassCast issue for RequestHolder/ResponseHolder (#6973) 2021-05-22 17:06:13 +08:00
wallezhang d14148d42e
fix: Fix macos test script command not found error. #6846 (#6964)
Co-authored-by: Zhenxu Ke <kezhenxu94@apache.org>
2021-05-19 13:13:29 +08:00
honganan 9ba6deb22f
correct the spelling error of test/plugin/run.sh (#6939) 2021-05-14 15:44:02 +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
liqiangz b934a143c2
Add `okhttp-4.x` plugin (#6899) 2021-05-06 18:54:39 +08:00
ZhangZhaoyuan edc154c40d
Add spring cloud gateway 3.x plugin (#6881) 2021-05-02 11:14:28 +08:00
divyakumarjain e9fc6bc639
Fix #6835 Add compatibility with Kafka client version 2.8.x (#6837) 2021-04-29 10:22:30 +08:00
Darcy 10ddf0c373
fix a bug that spring-mvc set an error endpoint name (#6783) 2021-04-29 07:52:35 +08:00
Ax1an 36c61fcfa9
Add an optional agent plugin to support mybatis. (#6838) 2021-04-27 22:34:29 +08:00
ZhangZhaoyuan 9de37243c1
feat: add enhance pulsar MessageListener instance (#6774) 2021-04-26 11:16:43 +08:00
Zhenxu Ke 10e89aa566
Pin the openjdk docker version (#6814) 2021-04-23 12:22:27 +08:00
mlasek 2122990ce1
Resolves #6751 - added kafka consumer assign method interception to p… (#6753) 2021-04-20 17:18:24 +08:00
guyang e89888668f
feature: jsonrpc4j plugin (#6743) 2021-04-17 22:42:57 +08:00
zifeihan 3a7d6c0ed4
Add an agent plugin to support elasticsearch7 (#6759) 2021-04-16 18:06:18 +08:00
liqiangz 411bcf230d
Support @Trace, @Tag and @Tags work for static methods (#6685) 2021-04-06 09:04:38 +08:00
liqiangz 776f19c702
Fix spanLayer is null in optional plugin(gateway-2.0.x-plugin gateway-2.1.x-plugin) (#6683) 2021-04-04 20:01:06 +08:00
liqiangz c986948c48
Fix springmvc reactive api can't collect HTTP statusCode. (#6671) 2021-04-03 22:09:48 +08:00
Darcy 573c3359ca
Fix Agent Plugin "asynchttpclient" not record the status code of the … (#6665) 2021-04-03 15:42:59 +08:00
Shengjun fc7d8dcb5e
Redis Lettuce span UI doesn't show detailed Redis command parameters in 'db.statement' field (#6614) 2021-04-02 10:03:57 +08:00
李文广 0047829b9f
Fixbug/springmvn-annotation-4.x-plugin, witness class does not exist in some versions (#6629) 2021-03-28 23:32:31 +08:00
Zhenxu Ke db9cc26977
Remove binary files and download them in CI process instead (#6631) 2021-03-28 18:37:33 +08:00
Stephen Ni 51b60ae218
Update the agent HBase plugin to support HBase Client 2.x (#6577) 2021-03-25 14:08:31 +08:00
Leon Yang 56425f1c62
support jedis pipeline (#6565) 2021-03-20 19:52:28 +08:00
Evan fd1d21021f
[Incompatible Enhancement]New index policy of ElasticSearch storage option (#6499) 2021-03-11 15:11:37 +08:00
Zhenxu Ke 0fdb165662
Set up code quality check and fix some (#6519) 2021-03-09 18:15:00 +08:00
Jingguo Yao 20425c3aa5
Add test cases for kafka-plugin (#6503)
1. Add plugin test for KafkaProducer.send(record).
2. Add exception checking test cases for CallbackInterceptor.
2021-03-07 21:48:46 +08:00
lipenghui 08bceb90eb
Add pulsar version 2.6.3 and 2.7.0 (#6438) 2021-02-25 08:14:56 +08:00
John Bampton 85fc4f827c
Fix spelling (#6418) 2021-02-22 07:40:35 +08:00
吴晟 Wu Sheng 7b1c63de11
Remove optional log plugin (#6259) 2021-01-26 23:23:14 +08:00
ralphgj ea8a4963a2
fix recording url tag with wrong port (#6214) 2021-01-18 19:49:33 +08:00
Evan 020a995301
change spanId toolkit api type (#6216) 2021-01-16 15:40:48 +08:00
Evan b0cc91382c
export the segmentId and spanId in toolkit (#6213) 2021-01-16 09:04:01 +08:00
Zhenxu Ke 98d0430b91
chore: set up license-eye to check license header (#6200) 2021-01-14 22:08:37 +08:00
Jared Tan 50c74a6bc5
Upgrade kafka clients support version (#6182) 2021-01-12 21:49:22 +08:00
vcjmhg c010481cf6
Checkstyle plugin checks test codes (#6003) 2020-12-29 17:58:34 +08:00
Zhenxu Ke 7b9cff4b73
chore: fix typo gprc -> grpc (#6035) 2020-12-20 00:17:46 +08:00
zifeihan de3ccecd22
Trace method(clearScrollAsync) for elasticsearch-6.x-plugin and polishing elasticsearch-6.x-scenario. (#6031)
* Polish elasticsearch-6.x-scenario.
2020-12-19 20:58:07 +08:00
Zhenxu Ke 6feeaf6e5f
Update submodule to sync namespaced proto files (#6026)
* update submodule to sync namespaced proto files

* add compat E2E test and update mock collector

* add changelog, fix GHA syntax, compat Java agent

* highlight notes, use archive dist, revert compat in agent

* polish changelog, add missing `-javaagent` in provider

* fix wrong position of JAVA_OPTS

* polish changelog
2020-12-18 12:29:44 +08:00
vcjmhg 0996151973
Support collecting logs of log4j, log4j2, and logback in the tracing context (#5914) 2020-12-10 13:53:30 +08:00
hailin0 fbf49b2cc6
Change the operation name of quartz-scheduler plugin (#5934) 2020-12-08 10:04:14 +08:00
zifeihan c24dbd6ec1
Fix jdk-http and okhttp-3.x plugin did not overwrite the old trace header. (#5958)
* Fix jdk-http and okhttp-3.x did not overwrite the old trace header.

* Update CHANGES.md.
2020-12-06 21:14:12 +08:00
zifeihan 6e0a244482
Add the plugin for Apache CXF 3.x (#5887) 2020-11-26 17:18:55 +08:00
Lu Jiajing d9623ec487
Spring-Kafka 1.x support (#5879)
* support spring-kafka 1.3.x and add test

* add spring-kafka-1.3.x-scenario to github workflow

* change kafka-plugin FAQ

* add supported versions

* update CHANGES.md
2020-11-24 19:32:37 +08:00
zifeihan d6c9926e9e
Add the plugin for microsoft mssql-jdbc (#5856) 2020-11-18 15:48:18 +08:00
zifeihan 7220643cbf
Add the plugin for mssql-jtds 1.x plugin. (#5842)
* Add the plugin for mssql-jtds 1.x plugin.
2020-11-16 08:30:25 +08:00
King bc7afa6347
add support for dbcp 2.x plugin (#5550) 2020-11-08 09:41:56 +08:00
xiaoyu d625f2905b
shardingsphere scenario remove commons-dbcp (#5788) 2020-11-07 20:34:57 +08:00
Kcat c32caab6e0
Add async-http-client plugin (#5690) 2020-11-06 00:33:47 +08:00
Evan 603187b7a8
Apply tags from Correlation Context key/values to Spans (#5685)
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
2020-11-01 20:51:21 +08:00
Evan 08781b41a8
add transmission latency for MQ case (#5666)
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2020-11-01 11:01:04 +08:00
xbkaishui 9668672205
add http client parameter collector (#5756)
* add http client parameter collector
* Update CHANGES.md

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-10-31 23:49:15 +08:00
mrproliu 1d0d07ba96
Change toolkit plugin test to release version (#5762)
Co-authored-by: Mrproliu <mrproliu@lagou.com>
2020-10-31 21:33:13 +08:00
Jared Tan ac481e1bbb
update hystrix plugin version support list. (#5759) 2020-10-31 12:15:26 +08:00
Daming 0c4827d056
remove finagle-6.25.0-scenario (#5747) 2020-10-29 07:50:57 +08:00
zifeihan e1619495c3
Add feign loadbalancer case for spring-cloud-feign-1.x-scenario plugin. (#5711) 2020-10-22 14:03:28 +08:00
zifeihan 63d63ed7f5
Add feign loadbalancer case for spring-cloud-feign-2.x-scenario plugin. (#5700) 2020-10-21 07:58:09 +08:00
Daming 98968122e9
Provide Thrift Plugin (#5644) 2020-10-16 16:09:47 +08:00
mrproliu 494c146ed5
Provide meter agent test tool support (#5648) 2020-10-13 07:58:14 +08:00
xbkaishui c9b6a78ca9
Limit Sql body size (#5626) 2020-10-04 23:22:32 +08:00
吴晟 Wu Sheng 103cf00672
Support JDK 11 compiling and upgrade dependencies (#5579)
* Upgrade dependencies and make the JDK11 compiling passed.

* Update license and fix license check file.

* Add CI for JDK11 compiling.

* Update doc.
2020-09-29 10:34:21 +08:00
vcjmhg 806666b4cc
add webflux webclient plugin (#5493) 2020-09-27 22:38:07 +08:00
harvies fa62c637c2
remove minor version test tasks (#5544)
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-09-23 21:17:54 +08:00
harvies c33a55cda1
Test for mongo3.x support version (#5539) 2020-09-22 22:08:58 +08:00
harvies 1ff25ac4f4
Support mongo driver 4.x version. (#5512) 2020-09-22 17:09:24 +08:00
harvies c3edd3dad0
Better witness class for mongo3.8.x (#5524)
* modify witness class

* modify witness class & add test case

* replace DB_STATEMENT to DB_BIND_VARIABLES & remove executeMethod prefix

* fix ci

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-09-22 09:50:44 +08:00
hailin0 e200ef1045
Add support for xxl-job (#5519) 2020-09-20 10:04:32 +08:00
harvies 266414f261
update agent-test-tools version (#5522)
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-09-19 20:27:39 +08:00
Lu Jiajing c65bcf1142
Check bootstrapServers type before casting for kafka-clients >= 2.1 (#5510) 2020-09-18 15:18:54 +08:00
Evan 29de696c42
exception-ignore-plugin (#5426) 2020-09-09 15:07:01 +08:00
Xin,Zhang 1b5dd9b3f3
Move spring webflux into optional plugin (#5445)
* Move spring webflux into optional plugin

* Fix compile check

* Fix check style

* Adjust code

* add docs

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

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-09-09 09:53:07 +08:00
Evan 10fe6b2585
fix plugin test (#5456) 2020-09-08 16:45:48 +08:00
Brandon Fergerson f8c887e241
Include request method type in rest mapping annotations (#5085) 2020-09-05 23:14:40 +08:00
hailin0 ca957699dc
Add support for quartz-scheduler (#5413) 2020-08-30 23:48:26 +08:00
hailin0 afc0aef567
Add logic-endpoint and testcase for elasticjob-2.x plugin (#5395) 2020-08-28 14:27:07 +08:00
Daming 8bf38cc29c
using openjdk:14-buster as base image of PluginTest (#5404) 2020-08-28 09:07:03 +08:00
Xin,Zhang 77d94b4d2a
Fix issue that spring mvc plugin doesn't works when running on reactive api (#5360) 2020-08-26 13:22:39 +08:00
Daming 6c1659c56a
[plugin/test] Plugin test with jdk14 (#5352)
* plugin test with jdk14

* introduce jdk14 container

* remove docker:build

* remove BUILD_NO and introduct image_version

* Update docs/en/guides/Plugin-test.md

Co-authored-by: kezhenxu94 <kezhenxu94@163.com>

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
2020-08-24 20:17:22 +08:00
hailin0 1b54b61a88
Add support for spring @Scheduled (#5339) 2020-08-23 17:13:49 +08:00
Lu Jiajing 5bfac1b50f
Remove style-check exception for logger (#5363) 2020-08-21 18:26:25 +08:00
xbkaishui 79c1c0cc76
Support http header tag (#5348) 2020-08-20 10:43:28 +08:00
于玉桔 494d2a5b65
Elastic job plugin use wrong span type (#5347) 2020-08-19 21:21:09 +08:00
于玉桔 ed71efda52
Fix spring-kafka test unstable (#5313) 2020-08-17 11:43:04 +08:00
Daming b588b5f681
Fix spring-kafka test unstable (#5310)
* fix spring-kafka test unstable

* fix spring-kafka test unstable
2020-08-14 12:24:18 +08:00
于玉桔 ab5555fe27
Support @KafkaPollAndInvoke annotation to replace @Trace when just using the Kafka scenario agent plugin (#5304) 2020-08-13 21:18:04 +08:00
于玉桔 e37fc2e439
Support spring-kafka (#5254) 2020-08-10 19:13:19 +08:00
于玉桔 69297b9ec6
Support Apache ShardingSphere-Elasticjob (#5153) 2020-08-10 10:48:23 +08:00
yangy 9b6a4ed28c
Fix kafka plugin sometimes trace doesn't show span layer (#5264) 2020-08-08 14:39:54 +08:00
于玉桔 446d7100f9
fix type (#5255)
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-08-07 09:37:36 +08:00
zshit dd6f439df1
support collecting feign params (#5235) 2020-08-06 13:09:31 +08:00
于玉桔 7a20c260bb
Add HBase hbase-client plugin (#5225) 2020-08-05 17:55:20 +08:00
于玉桔 4149ac59fe
The Dubbo plugin can collect more information by custom (#5209) 2020-08-04 23:26:56 +08:00
李文广 3a00d84766
spring-annotation plugin add component (#5160) 2020-07-25 23:14:46 +08:00
Patrick Jiang(白泽) 62f76881de
Fix issue 4965 (#5109) 2020-07-17 17:36:02 +08:00
Brandon Fergerson c8fc457e82
Better Vert.x endpoint names (#5064) 2020-07-09 23:32:43 +08:00
kezhenxu94 32202e053a
BugFix: x-le tag format in GraphQL plugin (#5054) 2020-07-08 12:59:55 +08:00
caoyixiong 80a534b1bb
support Graphql Logic endpoint (#5030) 2020-07-05 23:37:09 +08:00
gongdewei 1817386391
Support cache mode in the agent. (#4858) 2020-07-01 23:20:50 +08:00
caoyixiong 31f42343f6
add brpc-java plugin (#4958) 2020-06-27 14:57:29 +08:00
dagmom 08897ce5f8
New feature provided : new plugin for influxdb-java client (#4846) 2020-06-21 22:35:45 +08:00
dagmom 8648f0d417
update the commit id in the main repo to update the tool in CI process. (#4956) 2020-06-21 21:08:33 +08:00
于玉桔 c778a0d6c2
Support Quasar fiber tracing (#4951) 2020-06-20 22:30:03 +08:00
xiaoyu 164124fc22
provider shardingSphere 4.0.0 4.0.1 plugin. (#4927) 2020-06-15 17:03:17 +08:00
xiaoyu a24efcf5e9
ShardingSphere plugins conflict among themselves. (#4921)
* Fix shardingSphere plugin test fail if have some same ENHANCE_CLASS define.

* support 4.1.0 and 4.1.1

* support 4.1.0 and 4.1.1
2020-06-14 18:48:07 +08:00
Xin,Zhang 7b99019c49
Refactory spring gateway plugin (#4878) 2020-06-12 00:25:41 +08:00
denis e2b04b58b1
fix Kafka consumer subscribe topics from pattern (#4873) 2020-06-11 17:55:04 +08:00
xiaoyu 9a9401fdb6
provide shardingSphere(4.0.0,4.0.1, 4.1.0 ,4.1.1) plugin. (#4894) 2020-06-11 14:49:04 +08:00
Brandon Fergerson 705f97f27a
Increased Vert.x support (#4840) 2020-06-01 21:00:16 +08:00
zifeihan e8e9153d74
fix ClassCastException in KafkaProducerInterceptor (#4826) 2020-05-31 08:12:02 +08:00
Brandon Fergerson 594fb15b53
Increased support for Vertx (#4827) 2020-05-26 22:02:34 +08:00
lipenghui a12ecea449
Add more pulsar test versions. (#4814) 2020-05-22 22:33:44 +08:00
Efe Kaptan d19ba41678
Mariadb JDBC plugin (#4740)
* Add Mariadb JDBC plugin and provide tests

* Refactor component name

* Reformat plugin description and remove healthcheck span from the test

Co-authored-by: Efe Kaptan <Efe.Kaptan@webtrekk.com>
Co-authored-by: zhang-wei <pknfe@outlook.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-05-07 20:54:30 +08:00
Brandon Fergerson 4fc57a6663
Increase Vert.x Compatability (#4736)
* vertx web plugin re-impl attempt

* added license

* update test for new plugin structure

* got rid of registryItems

* remove unnecessary dependencies

* re-impl eventbus scenario

* more precise naming

* fix expected data

* removed unsupported versions and removed vertx caching (avoids permission error)

* rewrote to remove copied code

* Update plugins-test.3.yaml

* fixes issue of .vertx files remaining on v3.0.0

* only present in v3.0.0

* consistency

* add more supported versions

* track status code

* spelling fix

* track status code

* more correct naming

* reverts 213f5a69 (status code isn't sent at this point)

* made HttpServerResponseImplEndInstrumentation more strict based on version
added status code tracking
fixes issue not finishing async spans

* works 3.0.0,3.7.0

* increase compatibility

* 3.9.0 default

* versioned witness classes (advice from wu-sheng)

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: zhang-wei <pknfe@outlook.com>
2020-05-01 17:06:46 +08:00
Jared Tan d51c788113
support user to customize an endpoint (#4716)
* support user to customize an endpoint with toolkit.

* fix code style.

* add md.

* Update docs/en/setup/service-agent/java-agent/Application-toolkit-trace.md

Co-Authored-By: 吴晟 Wu Sheng <wu.sheng@foxmail.com>

* add test case.

* fix expecteddata.tml.

* fix data.

* fix expecteddata.tml.

* remove operationId in expectedData.yaml.

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-04-29 19:39:52 +08:00
Daming e8be63465c
More strict PluginTests expected data verifier (#4713)
* More strict PluginTests expected data verifier

* remove unnecessary file

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-04-25 23:35:47 +08:00
Brandon Fergerson 776d508018
Vertx plugin test re-implementation (#4624)
* vertx web plugin re-impl attempt
2020-04-24 19:49:03 +08:00
Daming 44f1b4a4ff
[test/plugin] Enhance PluginTest (#4677)
1. Re-balance the workload of plugintests
2. Restore testcases of MySQL, remove on #4641
3. Support user to runs plugin-test on debug mode. It will not remove the log files and actualData.yaml
4. remove paramater 'parallel_run_size' and disable parallel test.
2020-04-22 20:43:17 +08:00
mrproliu 7d1fdd3ea8
Support v3 extension header (#4666)
* support v3 extension header

Co-authored-by: Mrproliu <mrproliu@lagou.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-04-21 17:09:02 +08:00
Daming 28530cd79d
Upgrade the InfluxDB storage-plugin to protocol V3 (#4641)
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2020-04-19 20:10:59 +08:00
kezhenxu94 c11ad038cc
Count the coverage in E2E tests and Plugin tests (#4651) 2020-04-15 23:09:05 +08:00
kezhenxu94 00e8f2d886
Fix bug that the agent heart beats too frequently (#4640)
* Fix bug that the agent heart beats too frequently

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-04-12 20:48:44 +08:00
吴晟 Wu Sheng 6fe2041b47
Make 8.0.0 Core available. New protocol and register removed. (#4599)
Here are the list of changes we made in this pull request. Top 3 are the principle changes, others are following these principles.
1. New agent and mesh report protocol. 
2. New agent header protocol. 
3. Service register, instance register and network address register have been removed permanently.
4. Service traffic, instance traffic and network alias metrics are added to replace the service, instance and network address inventory.
5. Register process has been removed.
6. Metrics stream process supports insert only mode, especially for traffic entities.
7. Metrics stream process supports no-downsampling mode for traffic entities and network alias.
8. Remove all register mechanism and cache in the java agent.
9. Remove MONTH step in GraphQL query.
10. Update UI to remove MONTH step query, the max query range is 60 days now.
11. Simplify the TTL to metrics and record. And the unit has been formatted in Day unit. No specific TTL for ElasticSearch storage.
12. Buffer mechanism of trace receiver and mesh receiver has been removed due to no register.
13. New service id, instance id and endpoint id rules, including service relation, instance relation and endpoint relation id rules.
14. Java agent support `keep tracing` mode, meaning, agent generating tracing context even the backend is unconnected/unavailable.
15. Plugin test tool up to date, in order to support new protocol.
16. Plugin tests expected data files updated.
17. E2E tests updated.
18. Telemetry of Grafana config has been merged into one.
19. Documentation updates.
20. [TBD] InfluxDB storage implementation is not available, need @dmsolr to fix later, in order to reduce the master change block by this PR.
2020-04-10 11:03:24 +08:00
吴晟 Wu Sheng 4474907fef
[Inventory Design Change] Remove endpoint register and endpoint inventory (#4570)
* Finish step one, source and entity changed.

* Step 2, finish the basic and core DAO changes.

* Step 3. Change all source codes of backend, and make project compiling successfully.

* Make startup successful and persistence works.

* Fix dead codes in the MySQLTableInstaller.

* Fix mischange.

* Fix MySQL storage bootstrap error.

* Rollback dependency change.

* Simply enable tailing logs from container no mater it's in CI or not

* Fix segment table issue.

* Fix MySQL Instanller.

* Support Influxdb implementation of new endpoint traffic.

* Set and modify timeout to 90mins

* Remove unnecessary entity in the EndpointTraffic.

* Fix wrong entity builder and make name more clear.

* Fix 2 equal methods bug.

* Fix InfluxDB identifier(name) conflict issue.

* Fix endpoint topology query, endpoint id should be changed as a string.

* Fix a missing change.

* Fix a wrong commit.

* Column name can't be changed, due to it affect the hybrid metadb(h2/mysql) query, change it explicitly with double quotation marks.

* Fix formats.

* Remove endpoint/operation register from the agent. and change the plugin tests(without local tests). operationId relation codes have been removed from agent too.

* Try to fix the hytrix case.

* Fix 3 cases.

* Try to fix cases.

* Fix 2.

* Fix one.

* Fix the serviceId type mis-change.

* Fix int query

* Fix hystrix case.

* Fix a case.

* Fix EndpointCallRelationDispatcher set the source/dest endpoint without id encoding.

* Update documentation and add 2 test cases.

Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
2020-03-28 22:51:41 +08:00
yi.liang 1bc4082821
fix elasticsearch-5.x-plugin when use es6.x TransportClient error (#4517)
* up ui

* up ui

* fix elasticsearch-5.x-plugin on es6.x TransportClient error, Found class org.elasticsearch.common.transport.TransportAddress, but interface was expected
up elasticsearch-6.x-plugin support TransportClient

* fix elasticsearch-5.x-plugin on es6.x TransportClient error, Found class org.elasticsearch.common.transport.TransportAddress, but interface was expected
up elasticsearch-6.x-plugin support TransportClient

* fix elasticsearch-5.x-plugin on es6.x TransportClient error, Found class org.elasticsearch.common.transport.TransportAddress, but interface was expected
up elasticsearch-6.x-plugin support TransportClient

* const string witnesses
add some unit test
recommended to change ; to ,

* const string witnesses
add some unit test
recommended to change ; to ,

* up ES6.X test-plugin

* up es6.x test-plugin

* up es6.x test-plugin

* up es6.x test-plugin

* add DeleteIndexRequest

* up es6.x test-plugin

* remove TransportCaseController.java

* fix TransportActionNodeProxyExecuteMethodsInterceptorTest

Co-authored-by: yi.liang <yi.liang@zhangmen.cn>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: 梁懿 <liangyi@xforceplus.com>
Co-authored-by: aderm <394102339@qq.com>
2020-03-27 13:50:27 +08:00
mrproliu 569baf3236
Correlation protocol implement (#4555)
Co-authored-by: Mrproliu <mrproliu@lagou.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2020-03-26 09:02:14 +08:00
kezhenxu94 72f46f7499
Add missing `@Repeatable` to `@Tag` annotation (#4567)
* Add missing `@Repeatable` to `@Tag` annotation

* Remove some verified minor versions to speed up plugin tests
2020-03-25 09:58:16 +08:00
cngdkxw 2e9f001633
Add spring cloud feign 2.x plugin (#4526) 2020-03-20 20:28:30 +08:00
cngdkxw d5efc97c80
RestTemplate async plugin ClassCastException (#4507)
* ClassCastException

* resttemplate 4.x scenario

* add support versions & fix expectedData format-

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-03-13 23:13:51 +08:00
yoje ced5cb2828
Add finagle plugin (#4441)
* Add finagle plugin (#4433)

* fix failed checks for pr(#4441)
* Add licenses for some files
* Update Supported doc
* Add finagle to test component-libraries.yml

* Add finagle automatic tests into CI

* Add comments

* update comments

* Remove CompatibilityChecker

* Move query-protocol submodule to the right version

* Remove `enhancedInstance.setSkyWalkingDynamicField` in `ClientTracingFilterInterceptor`.

* Update expectedData.yaml of finagle tests

* Use lazy ContextCarrier injection.

* Add comments for `ContextCarrierHelper`

* Fix ContextHolderFactory to avoid context pollution

Co-authored-by: huangyongjie <huangyongjie@tigerbrokers>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-03-11 13:04:58 +08:00
Daming da44d28547
Introduce Agent-Test-Tool suite (#4458)
* Introduce Agent-Test-Tool suite

* rename term
2020-03-08 09:15:41 +08:00
zhang-wei 2ac2d2555a
[test/plugin] immigrate h2 & struts scenario (#4395)
* immigrate test code

* enhance mysql case healthCheck

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-02-23 20:34:44 +08:00
aderm 67b7f22a40
1.add es agent resthighlevelclient of ClusterClientInstrumentation.2.… (#4386)
* 1.add es agent resthighlevelclient of ClusterClientInstrumentation.2.fix agent test removeOnExit parse error.

* Update configuration.yml

* revert removeOnExit param.

Co-authored-by: Daming <zteny@foxmail.com>
2020-02-21 14:00:19 +08:00
lsyf e57176d05e Fix ehcache:  add interceptor for Cache's private constructor and setName method 2020-02-18 22:33:33 +08:00
lsyf 74c1f7ef73 ehcache-2.x-scenario add EhcacheCloneInterceptor case 2020-02-18 13:07:16 +08:00
Daming ca6a5618c5
[test/plugin] remove the image on docker exit (#4374)
* remove image on docker exit

* polish
2020-02-17 17:10:37 +08:00
Trustin Lee 5fed153ee2
Add Armeria 0.98.0 to the supported version list (#4328)
Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
2020-02-15 12:27:03 +08:00
lxliuxuankb e5366c0921
Tag annotation supports returned expression (#4327)
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
2020-02-12 14:03:02 +08:00
kezhenxu94 5b255ba3e3
Set up more strict code styles and fix existing issues (#4337)
Motivation:

Review code styles with some bots automatically.

Modifications:

Set up ReviewDog in GitHub Action to review code style.

Add more check rules to checkstyle plugin.

Result:

Obvious code styles can be reviewed and commented automatically.
2020-02-11 17:10:49 +08:00
aderm 8c96fd49dd Update elasticsearch-7.x agent support version. (#4340)
* test/plugin/scenarios/elasticsearch-7.x-scenario/support-version.list

* update elasticsearch-7.x agent support version.

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-02-10 19:10:38 +08:00
John Niang 7cf79b1127
Move lombok dependency into root dependency manager for easier version management (#4309)
* Add lombok dependency into root pom.xml

* Update all depending lombok pom.xml(s)

* Change lombok version into latest(1.18.10)

* Revert lombok dependency config of test projects

* Remove redundant lombok dependency of submodule

* Move Lombok into dependencies node for applying globally
2020-02-03 10:44:50 +08:00
kezhenxu94 408a777d9d
Make traces verification loosely (#4306)
### Motivation:

Make E2E tests more stable.

### Modifications:

Verify the traces loosely as other tests, and remove the `verify` method which verifies traces strictly, as we have preparation that also generates traces.

### Result:

E2E tests are more stable.
2020-02-02 14:11:47 +08:00
jialong 5c6914fc9e
Make MVC plugin support inherited annotations from interface (#4278) 2020-02-01 16:18:22 +08:00
Kanro 97950807fa
Enhance gRPC plugin (#4177)
* Enhance gRPC plugin

Co-authored-by: Kanro <higan@live.cn>
Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
Co-authored-by: GuoDuanLZ <739537111@qq.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-01-30 20:12:48 +08:00
Daming 9005d1e82c
Provide AVRO plugin (#4276)
* Provide Avro plugin
* provide testcase for avro-plugin

Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
2020-01-30 17:49:43 +08:00
John Niang 0e105a49bf
Upgrade remainder java compiler versions to 1.8 (#4286)
Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
2020-01-29 14:19:22 +08:00
kezhenxu94 019af3e345
Drop support of protocol v1 (sw3) (#4244)
* Drop support of protocol v1 (sw3)

* Remove versioning logic further

* Remove more version5-only classes

* Commit missing files

* Update submodule and address review comment

* Fix failed tests
2020-01-17 20:33:52 +08:00
Jared Tan 1310719645
add token authentication between agent and oap receiver. (#4197)
* add token authentication between agent and oap receiver.

* revert ui.

* fix code style.

* update docs.

* Update docs/en/setup/backend/backend-token-auth.md

Co-Authored-By: kezhenxu94 <kezhenxu94@apache.org>

* fix hits.

* filter

* revert yml.

* update logical.

* fix codestyle check.

* fix ci and add e2e test case.

* revert mistake commit.

* fix ci

* remove duplicate maven dependency.

* revert pom

* revert unchanged.

* update javadocs.

* update logical.

Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
2020-01-12 23:08:39 +08:00
dengliming 1881a040d4 Support plugin for mongodb v3.6.x (#4173)
* feat: add support plugin of mongodb v3.6.x

* update support-version.list

* update Supported-list.md

* update Supported-list.md

* Add witness class for v3.6

* update plugins-test.yaml

Co-authored-by: zhang-wei <pknfe@outlook.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: Weiyi Liu <liuweiyi@cmss.chinamobile.com>
2020-01-07 14:25:19 +08:00
Kanro 4e03d5e6d7 Add kotlin coroutine plugin (#4165)
* Kotlin coroutine plugin write in Java

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-01-04 22:51:59 +08:00
aderm 6be84cfa78 update elasticsearch-7.x agent support version. (#4171)
* update elasticsearch-7.x agent support version.

* update supported-list.md doc & plugins-test.yaml
2020-01-04 19:56:35 +08:00
kezhenxu94 99100ed635
Split the `collect_http_params` as per plugins for better performance (#4170)
* Split the `collect_http_params` as per plugins for better performance

* Add missing change
2020-01-03 21:44:25 +08:00
kezhenxu94 f52f7f466a
Support collecting http parameters (#4162)
Plugins of Tomcat, Spring MVC, Armeria are supported for now
2020-01-03 07:51:26 +08:00
zhang-wei 7902c6242f
fix unused import (#4163) 2020-01-02 21:16:27 +08:00
Zhang Yonglun c5827f889a [Agent] Provide plugin for ShardingSphere 4.0.0-RC3 (#4140)
* shardingsphere 4.x RC3 test

* shardingsphere 4.x RC3 test

* shardingsphere 4.x RC3 test

* shardingsphere 4.x RC3 plugin

* shardingsphere 4.x RC3 plugin

* shardingsphere 4.x RC3 plugin

* shardingsphere 4.x RC3 plugin temp for a test

* shardingsphere 4.x RC3 plugin revert temp changes

* shardingsphere 4.x RC3 plugin change package name

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2019-12-31 17:52:29 +08:00
aderm f64f3c1433 [test/plugin] immigrate test activemq scenario. (#4151)
* [test/plugin] immigrate test activemq scenario.

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2019-12-31 15:31:39 +08:00
kezhenxu94 51e74ca4c4
[Feature] Add tag annotation to allow tagging span with annotation (#4152)
* [Feature] Add tag annotation to allow tagging span with annotation

* Use repeatable annotation syntax and add docs and example codes

* Fix failed unit test
2019-12-31 12:11:06 +08:00
Gao Hongtao 4211eff558 Fix os maven plugin issues for Eclipse m2e (#4144)
* Fix mave-os plugin issues for Eclipse m2e

* Add os-msven-plugin.version property
2019-12-29 13:49:27 +08:00
Andy Ai 4aac3293ca [test/plugin] immigrate test play framework scenario (#4128)
* Add play-scenario

* Set play plugin as default

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: Weiyi Liu <liuweiyi@cmss.chinamobile.com>
2019-12-26 22:42:56 +08:00
Zhang Yonglun ab39cecb17 shardingsphere 4.x RC1 RC2 test (#4118) 2019-12-26 08:31:10 +08:00
kezhenxu94 30cbe38df7 Move Armeria plugin to default plugin list (#4130)
* Move Armeria plugin to default plugin list

* Move Armeria plugin to default plugin list

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2019-12-26 00:45:48 +08:00
吴晟 Wu Sheng 25a677b9c7
Move Webflux plugin into default list. (#4129)
* Move Webflux plugin into default list.

* Fix a typo.
2019-12-25 22:08:14 +08:00
吴晟 Wu Sheng 3dde94ff66
Move lettuce into default plugin (#4127)
* Move lettuce into default plugin

* Fix maven pom
2019-12-25 18:53:49 +08:00
于玉桔 1e9f929f97 [test/plugin] immigrate test zookeeper scenario. (#4106)
* zookeeper test

* update expected data file

* fix review code

* fixed

* bugfix

* update version

* fix bug

* fix

Co-authored-by: zhang-wei <pknfe@outlook.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2019-12-25 17:25:09 +08:00
于玉桔 7dc8065267 [test/plugin] immigrate test lettuce scenario. (#4113)
* lettuce test

* fix

* update version

*  a new one group

* revert

* update expect data

Co-authored-by: Weiyi Liu <liuweiyi@cmss.chinamobile.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2019-12-25 11:22:15 +08:00
zhang-wei ba192a9f13 [test/plugin] immigrate test servicecomb scenario (#4109)
* servicecomb scenario
2019-12-25 09:43:57 +08:00
kezhenxu94 bf6491f449
[Feature] Provide Java Agent for Apache HttpClient 3.x (#4111)
* Add Java Agent for Apache HttpClient 3.x

* Update Supported-list.md

* Update pom.xml
2019-12-24 23:20:44 +08:00
Zhang Yonglun 6fce5ca790 [test/plugin] immigrate test shardingsphere 3.x scenario. (#4093)
* shardingsphere 3.x test

* shardingsphere 3.x test refine

* shardingsphere 3.x test refine

* shardingsphere 3.x test refine

* shardingsphere 3.x test refine

* shardingsphere 3.x test refine

* shardingsphere 3.x test refine

* shardingsphere 3.x test refine

* Remove the local/exit span register mechanism

* for comments

* for comments
2019-12-21 11:59:33 +08:00
cyejing bc77fda5c1 Enhance webflux plugin, related to Spring Gateway plugin too. (#3945)
* webflux-reactive

* add support version comment, modify gateway

* add test case, modify name

* add docs

* remove healthCheck
2019-12-17 08:58:57 +08:00
kezhenxu94 3f48790c36 [Feature] Add Java agent plugin for Jdk Threading classes (#4067)
* Add Java agent plugin for Jdk Threading

* Fix expected data according to changes in master

* Update agent.config

* Fix failed plugin test
2019-12-17 00:12:14 +08:00
吴晟 Wu Sheng 4e50132817
Remove the local/exit span register mechanism in Java agent scenario (#4059)
* Remove the local span and exit span register mechanism in Java agent scenario.

* Fix config, plugin, and document, as exit span is not required register anymore.

* Try to fix the test case expected data due to no register for exit span.

* Fix toolkit case.

* Remove exit span from plugin test framework document.

* Update protocol, FAQ, and CHANGELOG documents to highlight this change.

* Fix NPE when no entry span in the whole segment. Set endpoint to null in segment entity.

* Fix the snapshot and add inexistence operation name id.

* Fix several async cases.

* Fix undertow test case.

* Fix wrong error log name.

* Keep name consistent with 6.x concepts.

* Try to fix 3 async scenarios.

* Fix okhttp case.

* Fix Spring Async case.

* Fix another NPE

* Fix NPE when first span has no endpoint id when it is local or exit span.

* Still fill first operation name when no endpoint id.
2019-12-15 19:15:47 +08:00
aderm 4ec2cb07ed [test/plugin] immigrate test cassandra scenario. (#4040)
* [test/plugin] immigrate test cassandra scenario.

* update support list doc.

* delete space error.

* disable jmx report.

* remove jmx dependence.

* Disable jmx report.

* Update support list doc.
2019-12-12 12:52:00 +08:00
kezhenxu94 eea5d027cc
Add Armeria Java agent plugin (#4024) 2019-12-11 15:57:45 +08:00
zhang-wei e139e16366 [test/plugin] immigrate jdk http scenario (#4035)
* jdk-http

* jdk-http-scenario

* action
2019-12-10 13:22:31 +08:00
aderm 0b4afc17b8 update es7.x plugin test support version. (#4011)
* update es7.x plugin test support version.

* update Supported-list.md and action config.
2019-12-06 10:53:34 +08:00
aderm 17da2e2eec [test/plugin] immigrate test oracle scenario. (#4006)
* [test/plugin] immigrate test oracle scenario.

* repair ojdbc14.jar download url.

* 1.update ojdbc14.jar site;2.Adjust task position.

* fix curl download problem by add -L.

* Merge run steps.
2019-12-05 22:47:14 +08:00
lipenghui 821c50d0e4 [test/plugin]immigrate pulsar scenario (#3997)
* Apache Pulsar Immigration.

* Add apache license header and move pulsar scenario to Feign_Canal
2019-12-04 12:08:25 +08:00
Alan Lau 52de0c6dfa Immigrate test gson scenario. (#3989)
* Immigrate test gson scenario.

* Fix actions yaml & move gson test to other groups.

* Fix wrong format.

* Rename the group name.

* Add 2.8.6 version. && remove healthCheck.
2019-12-02 15:28:16 +08:00
zhang-wei 3cb622daed fix express parse for null (#3988) 2019-12-01 18:37:23 +08:00
Alan Lau c0c898cf6c Immigrate test mysql scenario. (#3948)
* Add mysql scenario
2019-11-30 21:22:50 +08:00
Alan Lau 128d8054bc Fix #3932. (#3933) 2019-11-26 12:19:27 +08:00
Alan Lau 8ad3bab42e [test/plugin] Immigrate tests okhttp scenario (#3905)
* Immigrate tests okhttp scenario

* Fix Header.

* Fix license Header.

* Modify code follow the reivew suggestions.

* Fix expected.xml

* Restore the missed config

* Update okhttp elapsed time.

* Update total time for Group1.

* Fix the missed operationNames.
2019-11-25 11:37:52 +08:00
zhang-wei 6d3b0e2aeb [test/plugin] Print systeminfo on failure (#3874)
* Print systeminfo on failure

* fix project name

* docker-compose add network

* docker-compose add network

* revert interval
2019-11-19 19:02:02 +08:00
aderm a2dce716db [test/plugin] immigrate test hystrix scenario. (#3887)
* [test/plugin] immigrate test hystrix scenario.

* change package name.

* add start script.
2019-11-19 16:27:31 +08:00
于玉桔 6ffd92792d Support spring-tx in optional plugin (#3857)
* plugin code

* NPE FIX
2019-11-19 10:05:01 +08:00
zhang-wei 89923d6a93 [test/plugin] immigrate grpc scenario (#3840)
* grpc scenario

* update support-version.list
2019-11-17 17:29:42 +08:00
qiyang 58149a74f9 Intercept feign URL without parameters (#3854)
* Intercept feign RequestTemplate resolve args method ,get the url without parameters

* fix ci warnings

* optimize import

* fix: miss  path in feign target url like "http://localhost:8080/feign-scenario"
     fix feign-scenario test use pathVariable

* Add testcase to DefaultHttpClientInterceptorTest

* Clean ThreadLocal

* User one ThreadLocal replace two. User try/final  remove ThreadLocal .

* Code Optimize
2019-11-17 12:59:10 +08:00
aderm 33d2962593 [test/plugin] add elasticsearch 7.x plugin test scenario. (#3868)
* [test/plugin] add elasticsearch 7.x plugin test scenario.

* refresh index, make can search.

* remove unused package.

* update supported framework document.

* fix service name repeat.
2019-11-17 11:23:11 +08:00
zhang-wei 554df44a0d fix docker build bug (#3869) 2019-11-16 20:28:17 +08:00
zhang-wei e8f67897d8 Make kafka-scenario stable (#3866) 2019-11-15 21:04:03 +08:00
viswaramamoorthy d0a1cdd506 Rabbitmq plugin test migration (#3788)
* Rabbitmq plugin e2e test migration

* 3753-code review fixes

* 3753-test-case-improvements

* Update pom.xml

Remove the repo addresses.

* Update Plugin-test.md
2019-11-15 16:02:51 +08:00
aderm 5f8ee254a4 [test/plugin] immigrate test feign scenario. (#3838)
* immigrate test feign scenario.

* add license.

* update use test skeleton.

* delete repeat spring-boot starter dependence.

* add support-list version.
2019-11-15 00:11:43 +08:00
Daming 41bb3b5c0a [hotfix] Make socketio-plugin test case stable (#3861)
* make socketio-plugin testcase stable
2019-11-14 22:28:25 +08:00