Commit Graph

352 Commits

Author SHA1 Message Date
zhang-wei 48bcac2307 [test/plugin] immigrate jedis scenario (#3811)
* jedis scenario

* update doc
2019-11-09 15:34:13 +08:00
zhang-wei cbe03da066 [test/plugin] fix archetypes (#3808)
* fix archetypes

* fix log4j
2019-11-09 13:51:39 +08:00
innerpeacez e307b69163 fix als docs (#3814) 2019-11-09 12:47:08 +08:00
Daming 23bc69cd48 Provide archetypes for plugin testcase (#3802)
* provide archetypes for testcase
2019-11-08 14:48:40 +08:00
aderm 998ce29632 update plugin test doc. (#3804) 2019-11-08 08:16:52 +08:00
zhang-wei 62060749f7 [test/plugin] merge undertow scenario (#3797)
* merge undertow scenario

* update elapsed time
2019-11-07 15:29:52 +08:00
Daming e23ae59021 reformat and add total time for groups (#3799) 2019-11-07 08:01:20 +08:00
Daming 1bbf97760c add an elapsed time list for plugins (#3798) 2019-11-06 23:29:26 +08:00
sxzaihua 4c688701dc add SupplierWrapper to support java 1.8+ CompletableFuture.supplyAsync #3779 (#3783)
* add SupplierWrapper to support java 1.8+

Signed-off-by: shixiang <xiang.shi001@bkjk.com>

* add SupplierWrapper to support java 1.8+

Signed-off-by: shixiang <xiang.shi001@bkjk.com>

* Update SupplierWrapper.java

add new line

* add supplier

* add supplier test

* add test

* add test yaml

* Update Application-toolkit-trace-cross-thread.md

Add how to use SupplierWrapper in Java 1.8+
2019-11-06 19:32:16 +08:00
吴晟 Wu Sheng 05761ef522
Add plugin test framework doc (#3786)
* Add SkyWalking plugin test framework doc

* Remove Chinese.

* Add a description to the env variable, CASE_SERVER_IMAGE_VERSION

* Fix typo

* Change paragraph structure.
2019-11-05 17:03:21 +08:00
野狼Bang 464d7c1962 Typo fix in document (#3764) 2019-11-01 12:11:58 +05:30
xiaoy00 a4078194d7 [plugin]support log4j2 AsyncLogger (#3715) 2019-10-28 17:23:17 +08:00
aderm 7f69a73d13 Add postgresql agent sql query param show (#3695)
* Add postgresql agent sql query param show
2019-10-28 08:43:57 +08:00
zhangwei f471293cdc [test/plugin] immigrate undertow scenario (#3698) 2019-10-27 18:33:38 +08:00
吴晟 Wu Sheng 922eb09a04
Fix missing fields in scope-definitions.md (#3721)
* Update scope-definitions.md

* Update Jenkinsfile
2019-10-27 17:22:14 +08:00
scolia 80af166752 feat: add support of mongodb v3.7.x or higher (#3591)
* feat: add support of mongodb v3.7.x or higher

* feat: remove mapping, using EnhancedInstance to mark remotePeer

* feat: add support of v3.6.x

* fix: disable support will 3.6.x, which will throw ClassCircularityError exception

* style: clean code

* fix support of 3.8.x~3.11.1, update test case and doc

* update stage name

* rename class

* rename stage
2019-10-24 19:16:56 +03:00
qiyang 69a28d4591 Add register persistent worker latency metrics #3671 (#3677)
* Add register persistent worker latency metrics  #3671

* remove never thrown exception on Time#close()
add panel to mesh-mode-grafana.json

* remove never thrown exception on Time#close()
add panel to mesh-mode-grafana.json
2019-10-24 15:22:38 +08:00
mrproliu c640b512cd Provide agent plugin netty-socketio (#3640)
* add plugin netty-socketio https://github.com/mrniko/netty-socketio

* delete create exit span interceptor.

* delete create exit span interceptor testcase.

* delete create exit span interceptor testcase.

* add constructor test unit

* change bind on random port in test case

* reverse upstream master whitespace

* resolve build_id param

* delete health check segment test case

* add ContextManager.isActive check before use activeSpan invoke

* remove unnecessary code and blank line
2019-10-23 13:06:17 +03:00
scolia b56248b0af feat: add test case for mongodb-3.x-plugin (#3667)
* feat: add test case for mongodb-3.x-plugin

* fix: agent-test script error

* feat: change non-compliant code

* fix: remove not proper config

* docs: update docs

* Merge branch 'master' of https://github.com/apache/skywalking into mongodb-testcase

# Conflicts:
#	Jenkinsfile-Agent-Test-3
2019-10-22 22:19:40 +03:00
Jared Tan 2f3d009e63 Makes the scope of alarm message more semantic. (#3680)
* Makes the scope of alarm information more semantic.

* update md.

* update md.

* add ruleName in AlarmMsg.

* update md.

* update test case.

* fix coveralls.

* fix coveralls.

* fix ci.
2019-10-22 19:35:04 +03:00
zhangwei 1434f4a7a2 doc fix (#3655) 2019-10-18 19:34:35 +03:00
Gao Hongtao bde6c137b7 Update istio docs according latest istio release (#3646)
* Update istio docs according latest istio release

* Rename skywalingadapter.yml to skywalkingadapter.yml

Rename typo file name.

* Update README.md

Add a link to doc.

* Update README.md
2019-10-17 21:56:35 +03:00
吴晟 Wu Sheng cfc9ae0eae
Polish doc, remove old OAL description. (#3643)
* Polish doc, remove old OAL description.

* Add a new use case.
2019-10-17 20:53:50 +03:00
吴晟 Wu Sheng 037df35e01
Update backend-ui-setup.md (#3624)
Remove duplicated doc, we have a more clear one now.
2019-10-16 07:54:44 +03:00
panjuan fb001867e5 Instead of datasource-settings.properties, use application.yml for MySQLStorageProvider (#3564)
* Is it a typo or not?

* delete datasource-settings.properties

* handle 'metadataQueryMaxSize'

* delete DynamicModuleConfig.java

* modify mysql config

* parsing yaml to support the configuration for multiple properties

* delete datasource-settings.properties

* modify doc

* add properties for docker-entrypoint.sh

* add testLoadConfig()
2019-10-12 20:47:38 +08:00
Jared Tan a848033a75 add faq with es. (#3599)
* add faq with es.

* Update README.md
2019-10-11 17:14:26 +08:00
mrproliu 58804174e1 Provide plugin for Ehcache 2.x (#3575)
* support ehcache 2.x
2019-10-10 22:39:37 +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
innerpeacez 0a8c8643c4 use chart deploy sw docs (#3573) 2019-10-08 15:59:49 +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 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
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
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
吴晟 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 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
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
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 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
吴晟 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
Jared Tan dbbf22a177 support es https ssl config. (#3370)
* support es https ssl config.

* update

* update docs.

* refactoring var name.

* fix

* update docs.

* add config in es section.

* fix logical.
2019-09-02 11:15:43 +08:00
Dhi Aurrahman 53a1ae8e82 docs: Improve envoy metrics sending setup documentation (#3389)
* Add envoy metrics sending example

Signed-off-by: Dhi Aurrahman <dio@tetrate.io>

* Newline

Signed-off-by: Dhi Aurrahman <dio@tetrate.io>

* Fix

Signed-off-by: Dhi Aurrahman <dio@tetrate.io>

* Tear down note

Signed-off-by: Dhi Aurrahman <dio@tetrate.io>

* Typo

Signed-off-by: Dhi Aurrahman <dio@tetrate.io>
2019-09-01 09:47:38 +08:00
吴晟 Wu Sheng 63b033dfc0
Add istio bypass adaptor setup document back (#3376)
* Update document.

* Enable ALS document
2019-09-01 09:19:58 +08:00
kezhenxu94 54614a0594 Support gateway without agent (#3308)
* Support Gateway without agent
2019-08-30 16:17:41 +08:00