Commit Graph

5116 Commits

Author SHA1 Message Date
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
SummerOfServenteen c5b03ba7eb fix noSuchMethod (#3408) 2019-09-16 16:50:30 +08:00
吴晟 Wu Sheng 876b60c100 Update ALS setup doc as istio 1.3 released (#3470)
* Update als_setting.md

* Update als_setting.md
2019-09-13 09:17:15 +08:00
stone.wlg bb0b3d369f provide cassandra java driver 3.x plugin (#3410)
* add cassandra java driver 3.x plugin
2019-09-12 16:14:48 -07:00
Kdump 919988fa60 sync ui (#3468) 2019-09-12 14:11:34 -07:00
Gao Hongtao db67b87575 Update docker-entrypoint.sh (#3465) 2019-09-11 19:15:18 -07:00
于玉桔 b5b088acc0 Gateway compatible with downstream loss (#3445) 2019-09-10 23:43:17 -07:00
hi-sb 96b2baaddb spring-cloud-gateway traceid does not transmit #3411 (#3446)
* spring-cloud-gateway traceid does not transmit #3411

skywalking-version:6.5.0

spring-gateway-version:2.1.2

Error Description:

 Customize the filter, traceid does not transmit.

 "ServerWebExchangeDecorator" is a transport chain,His structure should be like this:

	 serverWebExchangeDecorator
	    -----(ServerWebExchangeDecorator)delegate
		    ------(ServerWebExchangeDecorator)delegate
			  ------.....
			   -----(DefaultServerWebExchange)delegate
  In the current source code, there is no deep search, but only the next level. When there are multiple custom filters, you get an error.

Repair method:

  Look for "delegate" of "ServerWebExchangeDecorator" recursively until "DefaultServerWebExchange"

* spring-boot-webflux traceid does not transmit #3411

spring-boot-starter-webflux-version:2.1.6

Error Description:

Customize the filter, traceid does not transmit.

"ServerWebExchangeDecorator" is a transport chain,His structure should be like this:

 serverWebExchangeDecorator
    -----(ServerWebExchangeDecorator)delegate
	    ------(ServerWebExchangeDecorator)delegate
		  ------.....
		   -----(DefaultServerWebExchange)delegate

In the current source code, there is no deep search, but only the next level. When there are multiple custom filters, you get an error.

Repair method:

Look for "delegate" of "ServerWebExchangeDecorator" recursively until "DefaultServerWebExchange"

* checkStyle
2019-09-10 22:44:36 -07:00
吴晟 Wu Sheng e1ce6edfab Fill my FAQ reply in official document. (#3450)
* Fill my FAQ reply in official document.

* Add image.
2019-09-11 07:09:50 +08:00
kezhenxu94 721f86485c Add TTL E2E test (#3437)
* Add TTL E2E test

* Add to Jenkins stage and minor bugfix

* Upgrade e2e container version

* Polish and minor fix

* Polish
2019-09-09 22:06:57 -07:00
吴晟 Wu Sheng ce20fe107d
Move to 6.5.0 (#3439)
* [maven-release-plugin] prepare release v6.4.0

* [maven-release-plugin] prepare for next development iteration
2019-09-08 16:24:21 -07:00
吴晟 Wu Sheng a6cbf3717d
Sync UI. (#3438) 2019-09-08 00:51:04 -07:00
x22x22 55d3fa50c9 add ui lodash depend license (#3433) 2019-09-07 06:25:31 -07:00
于玉桔 a690f6704f add gateway.yml to avoid unnecessary errors (#3426) 2019-09-06 08:12:45 -07:00
于玉桔 44556ae006 gateway & webflux compatible with these scene (#3419) 2019-09-05 06:36:22 -07:00
x22x22 d6a8461960 UI Sync #3396 can the page of span info be expanded manually (#3418) 2019-09-04 21:25:00 -07:00
x22x22 dc37803da6 add vue-js-modal license. (#3415) 2019-09-04 19:15:21 -07:00
x22x22 36a360170d #106 cache/persist page query states (#3406) 2019-09-04 05:41:45 -07:00
Stalary 05d9c0a93a MOD: Modify compatibility of kafka plugin and expand operationName (#3390)
* ADD: add operationName length threshold

* MOD:move operationName threshold to Config, simplified code

* MOD:update agent set-up document, clean code

* MOD:add agent.operation_name_threshold conf prefix

* MOD: Modify compatibility of kafka plugin and expand operationName

* MOD: Delete localSpan layer, modify consumer operationName, delete producer key

* MOD: Modify operationName, reduce String operation

* FIX: Fix callback break, the new version of kafka callback is intercepted twice and needs to be judged

* FIX: Fix different problems with KafkaProducer constructor in old and new versions

* MOD: separate code
2019-09-03 18:40:33 -07:00