Commit Graph

5134 Commits

Author SHA1 Message Date
yi.liang f8044b8960 up ui (#3593) 2019-10-10 20:01:06 +08:00
吴晟 Wu Sheng 713995f9c6
Adjust dependency (#3592)
* This dependency should be added.

* Fix again.
2019-10-10 19:11:26 +08:00
Daming 9b2672aa59 [test/plugin] rename the package of testcases (#3587)
* remove profiles and rename the package

* remove profiles
2019-10-10 14:23:36 +08:00
吴晟 Wu Sheng 6c1a8f74b0
This dependency should be added. (#3586) 2019-10-10 13:39:04 +08:00
kezhenxu94 80f779c75c Check package name org.apache.skywalking (#3581)
* Check package name org.apache.skywalking

* Only check REAL sources
2019-10-09 23:32:37 +08:00
吴晟 Wu Sheng 3cdc1a1928
Fix 5 places of using wrong Strings util (#3582)
* Exclude a dependency for test.

* Fix 5 places of using wrong Strings util.
2019-10-09 22:55:01 +08:00
kezhenxu94 72b722a5c1 Support namespace in Nacos cluster/configuration (#3578)
* Support namespace in Nacos cluster/configuration

* Give Nacos default namespace as per config/registry
2019-10-09 16:25:47 +08:00
Daming 002a161f96 improves script (#3579) 2019-10-09 14:54:06 +08:00
Jared Tan 2db2638fc2 code cleanup: remove unnecessary and optimize the function's parameters. (#3577)
* code cleanup: remove unnecessary and optimize the function's parameters.

* fix code style.
2019-10-09 10:05:23 +08:00
Daming 0114391dd2 test/plugin autotest (#3528)
Provide the codebase of plugin tests. Make the plugin test in the CI loop.
2019-10-08 21:51:20 +08:00
innerpeacez 0a8c8643c4 use chart deploy sw docs (#3573) 2019-10-08 15:59:49 +08:00
kezhenxu94 e131adf292
Make CI run on both skywalking and skywalking-se (#3565) 2019-10-07 18:11:44 +08:00
kezhenxu94 114a74f35a
Fix some miscellaneous bugs (#3567) 2019-10-07 17:35:22 +08:00
aderm 7d3b285b6b 提取公共代码 (#3566) 2019-10-07 16:49:13 +08:00
jsbxyyx e3ecf51eba test: add service reset command test case (#3552)
* test: add service reset command test case

* test: update test case
2019-10-07 11:21:55 +08:00
kezhenxu94 47f33e6ccc Exclude more generated sources and plugin instrumentation definition … (#3561)
* Exclude more generated sources and plugin instrumentation definition classes
2019-10-06 16:10:52 +08:00
吴晟 Wu Sheng af51e23b72 Reorganize the doc, and provide catalog (#3563) 2019-10-06 15:34:03 +08:00
kezhenxu94 2801de752f Support dynamically configure alarm settings (#3557)
* Support dynamically configure alarm settings

* Update documentation
2019-10-05 22:47:01 +08:00
kezhenxu94 81f4c087b0
Provide Consul dynamic configuration center implementation (#3560)
* Provide Consul dynamic configuration center implementation

* Add more unit tests

* Fix unit test

* Add more unit tests and remove unused file

* Remove redundant doc
2019-10-05 10:49:53 +08:00
kezhenxu94 46318e02da Add tests on webapp to increase test coverage (#3556)
* Add tests on webapp to increase test coverage

* Rename test class

* Add tests on webapp to increase test coverage

* Fix unit tests

* Remove duplicated class
2019-10-02 21:50:06 +08:00
kezhenxu94 ecf9d6b439 Exclude generated sources from test coverage (#3554)
* Exclude generated sources from test coverage

* Exclude more generated sources
2019-10-01 19:06:37 +08:00
kezhenxu94 179914d7b9 Upgrade guava version to support higher JDK version (#3541)
* Upgrade guava version to support higher JDK version

* Adjust license version

* Update doc
2019-09-30 13:29:03 +08:00
kezhenxu94 13547c6699 Switch to SkyWalking CI nodes (#3546)
* Switch to SkyWalking CI nodes

* Switch E2E to SkyWalking CI nodes

* Identify CI container name
2019-09-30 12:32:22 +08:00
Gao Hongtao eb457556ba Update README.md (#3550) 2019-09-30 11:08:21 +08:00
kezhenxu94 116f50ee82 Try to bring coverall test coverage comments back (#3503)
* Try to bring coverall test coverage comments back

* Remove suspicious rule

* Sync

* Try checkout submodule

* Update labeler.yml

* Update labeler.yml

* Update labeler.yml

* Update labeler.yml

* Rebase

* Remove jmh annotation processor

* Update README.md

* Replace with placeholder and remove Coverall badge in README

* Exclude generated classes from coverage analysis
2019-09-29 07:41:04 +08:00
panjuan 9dccace951 Is it a typo or not? (#3537) 2019-09-27 21:49:59 +08:00
panjuan 13ff55fb6f Update backend-cluster.md (#3536)
Modify `hot` to `host`
2019-09-27 21:25:14 +08:00
吴晟 Wu Sheng 6d18a0f97f
Update README.md (#3534) 2019-09-27 15:47:12 +08:00
xiaoy00 aade04b23e Add xin.com to powered-by page (#3520)
* add powered-by.md

add xin.com

* update powered-by.md

add xin.com
2019-09-25 23:40:12 +08:00
lipenghui a87425147c Add pulsar apm plugin (#3476)
* Add pulsar apm plugin.

* Fix check style

* Fix pulsar consumer component define.

* Add pulsar to component-libraries.yml

* Fix error interceptor class.

* Add pulsar to agent support list.

* Add Pulsar to ComponentsDefine and component-libraries.yml

* Move create entry span log of consumer from after method to before method

* Fix send callback issue when exception cause.

* Fix test issues

* Move pulsar plugin to optional plugins

* Add none messages tests for interceptor of producer and consumer.

* Remove unused comments.

* Move pulsar plugin back to the apm-sdk-plugin

* Fix comments

* remove set startTime for entry span(default is set by System.currentTimeMillis)

* Fix comments
2019-09-25 13:24:54 +08:00
Kdump 632e6b7503 sync ui (#3517)
* sync ui

* sync skywalking-query-protocol
sync ui

* sync skywalking-query-protocol

sync ui

* sync ui
2019-09-25 00:26:01 +08:00
Stalary 8de9f7d74c MOD: Kafka-plugin Compatible with KafkaTemplate (#3505)
* MOD: Compatible with KafkaTemplate

* MOD: modify test
2019-09-24 10:21:33 +08:00
kezhenxu94 321a88f575 Bugfix: endpoint grouping rules may be not unique (#3510) 2019-09-23 22:32:28 +08:00
吴晟 Wu Sheng 1663e000ca
Exclude the test codes from source release. (#3509)
* Exclude the test codes from source release.

* Don't depend on antd anyway.
2019-09-23 17:49:07 +08:00
吴晟 Wu Sheng 6e02d34aa2
Committer vote and set up document. (#3496)
* Committer vote and set up document.

* Change document link structure.

* Fix typo.
2019-09-23 16:11:19 +08:00
吴晟 Wu Sheng c05e63353d
Sync latest ALS from Envoy API (#3507) 2019-09-23 10:02:33 +08:00
kezhenxu94 24fb612045
Revert labeler action and remove .travis.yml (#3504)
* Revert labeler

* Remove .travis.yml as well

Remove .travis.yml as well since it's disabled permanently
2019-09-22 21:50:23 +08:00
Kdump 058335f21a Query server time info (#3498)
* sync ui

* query-server-time-info

* query-server-time-info

* query-server-time-info

* query-server-time-info

* query-server-time-info

* sync skywalking-query-protocol

* sync ui

* sync ui

* sync skywalking-query-protocol

* sync skywalking-query-protocol
2019-09-22 19:06:33 +08:00
kezhenxu94 701d980f6b Polish labeler settings and support submodule (#3502)
* Polish labeler settings and support submodule

* Trigger labeler

* Add more labeler paths
2019-09-22 17:27:26 +08:00
kezhenxu94 3fb9df36e7
Bugfix: labeler not work (#3500)
* Bugfix: labeler not work

* Fix yaml file indent
2019-09-22 13:28:02 +08:00
kezhenxu94 6e8d6197f3
Try GitHub actions to automatically label pull requests (#3497)
* Try GitHub actions to automatically label pull requests

* Add more labels

* Add test label
2019-09-22 12:40:47 +08:00
吴晟 Wu Sheng 8ebf3aac04
Support timeout configuration in agent and backend. (#3491)
* Support timeout configuration in agent and backend.

* Fix CI

* no message
2019-09-20 15:02:28 +08:00
Gao Hongtao 09064e97a8 Set telemetry instanced id for etcd and nacos plugin (#3492)
* Update docker-entrypoint.sh

* Set telemtry instance id in etcd and nacos plugins
2019-09-20 11:35:22 +08:00
wuguangkuo 60236a27d6 Add feature to control the maximum agent log files (#3475)
* Add feature to control the maximum history agent log files.
2019-09-19 14:12:17 +08:00
吴晟 Wu Sheng 1046944d69 Fix variable name and log in e2e tests. (#3487) 2019-09-19 12:32:45 +08:00
吴晟 Wu Sheng 6942ec8fcf
Language of instance could be NULL (#3485)
* Language of instance could be NULL

* Fix style check.

* Fix duplicated test cases.
2019-09-19 00:23:11 +08:00
Louis Tsui 72f07b812a Add Light4j plugin (#3323)
* Add Light4J 1.6.x plug-in

* Add unit test for Light4J plug-in

* Add missing id to server-starter

* Remove mentions of version 1.6.x

Some local testing showed that the plugin successfully generated traces for a light4j project built with light-codegen v2.x. Therefore, there is no need for a separate plugin for v2.x and no distinction needs to be made with light4j v1.6.x.

* Update supported light4j versions

* Use ContextSnapshot to maintain trace

In a typical Light4j project, the ExceptionHandler#handleRequest is the asynchronous execution point. The flow is ExceptionHandler#handleRequest -> HttpServerExchange#dispatch -> ... -> ExceptionHandler#handleRequest. This means that handleRequest is being intercepted twice and each time a LocalSpan is created. Without handling thread propagation, the trace segment gets split up.

By saving a ContextSnapshot into the enhanced object (ExceptionHandler), we can determine if it is necessary to continue the segment.

* Update logic for span creation in trace

By default, the Light4J plugin now overrides the Undertow plugin's entry span with its own. This new entry span is created just before execution of the ExceptionHandler#handleRequest in the I/O thread. The entry span is generated here because it is considered the starting point of the Light4J handler chain.

There is now also the option to enable detailed span creation when tracing requests through Light4J. These local spans mark which middleware and business handlers are involved with handling the HTTP request to a Light4J service.

* Update skywalking version

* Update light4j version

* Fix LightInstrumentation javadoc

* Remove import violating checkstyle

This import was added from the link reference in the javadoc. The javadoc has now been changed to just reference the method name.

* Move light4j agent config property

* Sync UI
2019-09-18 21:43:17 +08:00
yuyujulin ad45a94ab7 correct a typo (#3483) 2019-09-18 15:09:51 +08:00
Jared Tan 6c347a1169 agent support custom properties. (#3367)
* agent support custom properties.
2019-09-17 14:44:42 +08:00
吴晟 Wu Sheng 06c357da6c
Make sure the cluster register happens before streaming process. (#3471) 2019-09-17 08:53:02 +08:00