Commit Graph

97 Commits

Author SHA1 Message Date
kezhenxu94 b93de289d3
test: work around the testcontainers bug (#5808) 2020-11-09 06:53:13 +08:00
kezhenxu94 8da9bf94ab
ALS analyzer based on Envoy metadata exchange (#5800) 2020-11-09 00:01:12 +08:00
kezhenxu94 b69aff1e2b
Bump up testcontainers version to workaround the Docker bug on MacOS (#5807) 2020-11-07 17:25:32 +08:00
kezhenxu94 66dd848e84
test: E2E Elasticsearch 7.x highest and lowest versions (#5779) 2020-11-03 16:42:13 +08:00
zifeihan ac36a3ff49
Add ThreadPoolExecutor for handle kafka message. (#5718)
* 1.Add ThreadPoolExecutor for handle kafka message.

Co-authored-by: Daming <zteny@foxmail.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-11-01 15:28:14 +08:00
mrproliu af41da0e93
Support choose files to activate the meter analyzer (#5748) 2020-10-29 23:46:07 +08:00
kezhenxu94 92bb474c2d
Improve Kubernetes service registry for ALS analysis (#5722)
The current implementation of envoy ALS K8S analysis is based on the hierarchy, pod -> StatefulSet -> deployment, StatefulSet, or others. It's freaky and different from the Istio Kubernetes registry.

The new path is pod -> endpoint -> service, and we should leverage Informer API instead of raw Kubernetes API.
2020-10-29 18:22:38 +08:00
Humbertzhang c95a913492
Add percentile tests in e2e test. (#5737) 2020-10-29 14:38:49 +08:00
zhang-wei 7e6b19dfc0
Fix some bugs with browser (#5683)
* fix query browser error log  bug
2020-10-18 17:58:29 +08:00
kezhenxu94 239eaa01fd
test: set up ALS E2E test (#5675) 2020-10-15 23:20:46 +08:00
Humbertzhang 39815388a3
Add E2E test for python Kafka report protocol (#5640) 2020-10-10 16:41:18 +08:00
vcjmhg 806666b4cc
add webflux webclient plugin (#5493) 2020-09-27 22:38:07 +08:00
mrproliu a68be426a0
Provide metrics APIs for agent plugin (#5523) 2020-09-26 21:30:37 +08:00
zifeihan 84d49c4412
Add kafka config for how long does kafka query server topic will trigger timeout (#5554) 2020-09-25 13:03:51 +08:00
吴晟 Wu Sheng 224af7f625
Correct the module missing check in the ModuleManagerCore (#5484)
* Correct the module missing check.
* Don't check the docker compose version, as the GitHub installed 3.x in default.
2020-09-15 16:32:41 +08:00
CoderGang c89e766f0d
Fix the bug #5443 and add documents for the local E2E remote debugging. (#5457)
* fix the E2E bug when running locally with multiple `docker-compose.yml` files #5443

* add documents for the for local remote debugging.

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2020-09-09 00:26:11 +08:00
Brandon Fergerson f8c887e241
Include request method type in rest mapping annotations (#5085) 2020-09-05 23:14:40 +08:00
zhang-wei 7ef8b3e476
Support Browser protocol at OAP (#4228) 2020-08-31 15:46:37 +08:00
xbkaishui a7e77832a9
disable kafka property in agent.config (#5305)
* disable kafka plugin

* enable docker file of kafka for e2e test
2020-08-13 11:09:58 +08:00
CoderGang 4b441f06c3
Support for the remote debugging of local E2E testing framework (#5198) 2020-08-07 21:19:10 +08:00
kezhenxu94 58854a9bd8
Update commit hash in Python E2E test to v0.2.0 (#5256) 2020-08-07 10:28:54 +08:00
于玉桔 d4e64584af
fix version forgot update (#5226) 2020-08-07 07:48:22 +08:00
吴晟 Wu Sheng 48311e095a
Use client side component name when no server side mapping. (#5232)
* Use client side component name when no server side mapping.

* Unknown component should be fixed, so change the e2e expected data.
2020-08-05 13:34:58 +08:00
Daming f9257f5274
Provide kafka as collector/reporter (#4847) 2020-07-30 11:55:49 +08:00
mrproliu 925c0d74c7
Provide server-side meter (#4972) 2020-07-25 21:17:32 +08:00
Stalary 1877d0fcf4
Add jvm_thread metrics (#5129) 2020-07-22 09:05:32 +08:00
kezhenxu94 54a43c4cef
Update Python commit hash to v0.1.0 (#4988) 2020-06-30 07:23:43 +08:00
Gao Hongtao e143ae62eb
Reduce the length of metric name (#4936) 2020-06-22 09:10:51 +08:00
zhang-wei 38759318bd
update Dockerfile.go (#4944) 2020-06-18 14:04:28 +08:00
吴晟 Wu Sheng cf80986e71
Update Dockerfile.nginx (#4930) 2020-06-16 10:25:55 +08:00
何延龙 305a6b3032
[PHP-E2E] Support v8 (#4862) 2020-06-05 18:02:44 +08:00
Daming 3f176bf50f
[hotfix]Fix UITemplate storage Influxdb implamented (#4849) 2020-06-02 16:05:21 +08:00
吴晟 Wu Sheng d094a0f7c0
Support UI template management. (#4843) 2020-06-01 23:06:14 +08:00
kezhenxu94 edd8305fa2
Check http protocol in Python agent as well (#4805) 2020-05-23 16:05:13 +08:00
吴晟 Wu Sheng 39adda09f3
Make the default application.yml more friendly in the configuration s… (#4777)
* Make the default application.yml more friendly in the configuration section.

* Fix an issue in python e2e.
2020-05-12 16:55:31 +08:00
kezhenxu94 576bd7e286
Test: add E2E test for Python Agent (#4770) 2020-05-11 16:05:06 +08:00
mrproliu 816878897c
Support multiple ways to analyze segments in rest (#4745)
* support multiple segments analyze

* Support multiple ways to analyze segment data

* Change to support single or list of the segment data, add the document

* fix document and change the lua agent commit id

Co-authored-by: Mrproliu <mrproliu@lagou.com>
2020-05-08 22:54:36 +08:00
mrproliu 4e821415ea
Fix profile recheck error (#4690) 2020-04-22 19:25:56 +08:00
kezhenxu94 8e6a527f78
Add Java versions 9~14 to E2E tests (#4674) 2020-04-21 13:45:32 +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 21bb638d50
[Test] Remove all images after E2E tests and disable ES threshold (#4671) 2020-04-19 16:54:16 +08:00
kezhenxu94 c11ad038cc
Count the coverage in E2E tests and Plugin tests (#4651) 2020-04-15 23:09:05 +08:00
zhang-wei ccb65ff27f
Add `java` -> `go2sky` -> `java` e2e test case, and adapt v3 protocol (#4647)
* go2sky e2e

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2020-04-15 10:01:11 +08:00
mrproliu 171620bfa8
Add Nginx correlation e2e test (#4646) 2020-04-14 09:32:54 +08:00
mrproliu 1601cc107c
Support `java` -> `nginx` -> `java` e2e test, and v3 protocol (#4637) 2020-04-11 22:31:28 +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
何延龙 4eb3df4065
Fix E2E-PHP bugs (#4584) 2020-03-28 14:39:33 +08:00
何延龙 9c62e4f52d
Add 200000 microsecond sleep in E2E-PHP (#4582)
* fix #4539, add PHP to the query protocol

* Add PHP module support to e2e test

* Add PHP e2e test into the CI control file

* Remove networks aliases

* Add PHP module support to e2e test

* Add e2e.php.yaml

* Locked version

* Add 200000 microsecond sleep in E2E-PHP

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2020-03-28 09:13:38 +08:00
何延龙 954eede0ec
Add PHP module support to e2e test (#4547) 2020-03-23 23:16:28 +08:00