Commit Graph

750 Commits

Author SHA1 Message Date
Xin,Zhang 1c32d59542 Add peer to entry span (#2287)
* Add peer to entry span

* Fix CI
2019-02-27 20:19:18 +08:00
刘正阳 a95e15fb8d Fix ArrayIndexOutOfBoundsException (#2284)
* Fix ArrayIndexOutOfBoundsException when intercepting net.spy.memcached.MemcachedClient.getStats()

* revert format
2019-02-22 23:44:22 +08:00
dingshaocheng 2a14097342 fix issue #2258 (#2260) 2019-02-19 20:10:34 +08:00
于玉桔 0929ff3453 Support Zookeeper plugin (#2211)
* Zookeeper plugin
2019-02-15 22:13:44 +08:00
dongbin 4657ce7f0c Fixed an error that took a non-protocol uri string as a java.net.URL … (#2231)
* Fixed an error that took a non-protocol uri string as a java.net.URL construct parameter.

* Fixed an error that took a non-protocol uri string as a java.net.URL construct parameter.

* Fixed checkstyle error.
2019-02-01 23:28:21 +08:00
5003d6da31 fixed CPU UsagePercent Error (#2222)
fixed CPU UsagePercent Error
The cpu usage storage longitude should be one percent, not one in ten thousand. When the storage unit is one ten thousandth, as long as the usage rate does not exceed 100%. Stored values are less than one. When the current query is forced to be converted to a long type, it will always be 0. This is not correct.
2019-01-30 16:27:19 +08:00
于玉桔 a36394d9bc Support lettuce plugin (#2152)
* Support lettuce plugin

* lettuce plugin bugfix

* lettuce plugin fix license issue

* lettuce plugin fix cluster and config issue

* plugin lettuce compatible with low 5.0.x version

* lettuce plugin support version accurately describes on Supported-list.md

* plugin lettuce compatible with low 5.0.2 version

* lettuce plugin fix wrong batch method intercept point

* move lettuce to optional plugins

* fix ci issue

* fix ci issue

* Modify the description file

* Pom code optimization

* Optimization operation name

* Optimization operation name2
2019-01-26 13:09:03 +08:00
Jared Tan 5914a2b582 add thread-name. (#2209) 2019-01-25 23:21:47 +08:00
吴晟 Wu Sheng 4399299bd5
Optimize the agent grpc channel management. (#2198)
* Optimize the grpc channel management.

* Rename old version concepts

* Notify when rebuild connection.

* Remove notify in new channel created.

* Remove println.
2019-01-24 00:09:09 +08:00
吴晟 Wu Sheng 5a7eb5656a
GA tagged, move to 6.1 (#2180)
* [maven-release-plugin] prepare release v6.0.0-GA

* [maven-release-plugin] prepare for next development iteration
2019-01-18 20:04:23 +08:00
吴晟 Wu Sheng cee0525f74
Make a test case for span limit. (#2157) 2019-01-14 16:46:28 +08:00
吴晟 Wu Sheng b5eb9e304d Support Service Instance Inventory properties and bug fixed (#2156)
* Refactor service instance inventory to properties based entity.

* Fix a bug and refactor properties update.
2019-01-13 22:07:52 +08:00
于玉桔 43b216aa92 Support redisson plugin (#2083)
* plugin support redisson
2019-01-11 22:32:09 +08:00
Xin,Zhang 745e1043ff Fix ClassCastException (#2125) 2019-01-06 17:21:53 +08:00
XiaoFu ee6841fc13 Support Gson Plugin (#2090)
* Support Gson plugin
2019-01-03 23:51:22 +08:00
Xin,Zhang 1087291833 Fix application cannot start when the dubbo interface with @RequestMapping (#2064)
* Fix application cannot start when the dubbo interface with @RequestMapping
2018-12-23 20:03:36 +08:00
吴晟 Wu Sheng 95214aecf3
update version for next iteration. (#2084) 2018-12-23 09:14:14 +08:00
XiaoFu addf5101e0 Support canal plugin (#2035)
* fix add Canal plugin

* fix add UnitTest

* fix   format pom.xml

* Delete CanalApplication.java

* fix support cluster url

* fix add Licensed

* fix bug

* fix
2018-12-20 21:07:31 +08:00
于玉桔 3fdab2fb95 fix some obvious minor bugs (#2055) 2018-12-16 08:33:48 -08:00
Xin,Zhang 2a566bb7a3 Support webflux and spring mvc 5 plugin (#1993)
* Support webflux and spring mvc 5 plugin

* Change instrumentation

* Change instrumentation

* fix check style

* Add support 2.1.x instrumentation
2018-12-12 00:10:55 -08:00
Xin,Zhang 1bc5de7af9 Support overwrite tag (#2021)
* Support overwrite tag

* Fix test case
2018-12-09 14:59:15 +08:00
Xin,Zhang aa9a7c4437 Fix the NPE about elasticsearch plugin (#1985) 2018-12-07 22:54:23 +08:00
XiaoFu 45f44544eb Support rabbitmq plugin (#2000)
* Fix support rabbitmq plugin

* fix Unit test rename sw3 to sw6

* Update pom.xml

* fix adjust rabbitmq Unit test

* fix add rabbitmq component in docker component-libraries.yml

* Update RabbitMQProducerInterceptor.java

* Update RabbitMQProducerInterceptor.java
2018-12-07 21:20:10 +08:00
caoyixiong f8d384ee76 fix classloader dead lock in jdk7+ (#2016) 2018-12-07 15:22:24 +08:00
Jared Tan c141376557
fix https://github.com/apache/incubator-skywalking/issues/1820. (#2013) 2018-12-06 21:46:40 +08:00
Jared.Tan 5bc3ccde5e fix conflicts and test case. 2018-12-06 15:22:33 +08:00
吴晟 Wu Sheng 7066affacc
Merge branch 'master' into len 2018-12-03 12:26:01 +08:00
Jared.Tan dc393b1c12 refactoring PropertyPlaceholderHelper class. (#1989) 2018-12-03 11:50:59 +08:00
lixin40 efad1165f5 add system env for trace ignore plugin 2018-11-30 12:12:05 +08:00
Xin,Zhang 4b868f8aeb Support ConnectionProxyInstance tracing (#1961) 2018-11-27 22:04:50 +08:00
Jared.Tan b79030765b feat:Active System.env Config In Both Collector And agent.config. (#1957)
* feat:Active System.env Config In Both Collector And agent.config.
1、moving related codes into apm-util module.
2、update Setting-override.md about how to use.

* resolve docs.

* typo

* finish test case.

* Update README.md
2018-11-26 00:12:01 +08:00
Xin,Zhang 7a9721a65a Fix the components of Spring resttemplate is incorrect (#1956)
* Fix the components of Spring resttemplate is incorrect

* Fix check style

* Fix the version is incorrect

* Fix checkstyle
2018-11-24 18:34:33 +08:00
彭勇升 pengys 7c8a683c2f
gRPC client usage improve (#1946)
* Close the clients which are unreachable.
Remote client manager test case and comments.

* Test the GRPCRemote client.

* 1. Catch the throwable for onComplete method cause of it will throw exception when connection lost.
2. Check the gRPC channel state, send message when state is ready, wait 5 second when state is not ready.

Notice: gRPC channel getState with true parameter will trigger reconnect operation.

* gRPC client will reconnect to the server when network recorvered.

* Recovery application.yml

* Recovery proto module commit id.

* no message

* Fixed compile error.
2018-11-22 20:50:27 +08:00
吴晟 Wu Sheng c6ada8c98f
Support new v2 protocol and make concept consistently (#1937)
* Update new protocol

* Support new protocol at agent side.

* Fix test case.

* Make backend supports new trace protocol

* Fix tests.

* Make all new services available in gRPC.

* Fix bugs.

* Finish new document for v2 trace protocol.

* Fix wrong version requirement of zk

* Fix trace query bug.

* Find a client side dictionary bug.

* Fix register bugs.

* Fix break doc links.
2018-11-21 22:33:04 +08:00
honganan da734ac8fe fix comments issue #1935 (#1936) 2018-11-19 14:41:55 +08:00
honganan 8a92e1b433 fix bug #1912, the usage of ignore() problem (#1913)
* fix bug #1912

* fix bug #1912, recommit
2018-11-17 19:16:51 +08:00
li.can 138262f95a spring inherit issue (#1914) 2018-11-16 23:00:50 +08:00
ScienJus b44c6cc13e Fix custom HystrixConcurrencyStrategy/CommandExecutionHook doesn't wo… (#1901)
* Fix custom HystrixConcurrencyStrategy/CommandExecutionHook doesn't work when using hystrix plugin

* add unit-tests

* add licenses
2018-11-14 22:28:03 +08:00
吴晟 Wu Sheng 645a9a579d
New v2 header with header key `sw6` (#1894)
* Add some supports to sw6 header. Break many test cases because I turn sw3 default off. For sure, you could open in agent.conf.  FYI @peng-yongsheng @ascrutae

* Fix CI and make user cases still work under v1 header.

* Support BASE64 in v2 header and make entryOperationName and parentOperationName optional in ContextCarrier or ContextSnapshot

* Fix CI.

* @peng-yongsheng This is backend related, please pay attention.

* Fix the carrier item order is incorrect (#1903)
2018-11-12 17:42:17 +08:00
Adrian Cole 513c1b86c6 Copies Base64 from Zipkin (#1891)
* Copies Base64 from Zipkin

This copies the last copy of Base64 from Zipkin which can avoid a
dependency on specific JRE. Notes in javadoc show its heritage. We
didn't have unit tests: they can be backported from the source:

cc1f561250/okio/src/test/kotlin/okio/ByteStringTest.kt (L230)

Thanks to @swankjesse who created the eldest github ancestor :P

* Adds last version of encoding
2018-11-08 11:40:22 +08:00
ScienJus ca08d1a28b Support for overriding config with agent options (#1887)
* Support for overriding config with agent options

* Test the separator of options

* support quotes in agent options

* revert imports change

* add more tests

* clear properties after each test

* add document

* fix code style
2018-11-07 23:15:36 +08:00
吴晟 Wu Sheng 72a39e1f28
Sync 6.0.0-alpha release and version up to beta. (#1883)
* Lock oracle and resin plugins version.

* Move resin and oracle plugin to openskywalking

* Restore submodule active.

* Add another submodule active command.

* Remove the wrong test cases in release and fix some doc issues.

* [maven-release-plugin] prepare release v6.0.0-alpha

* [maven-release-plugin] prepare for next development iteration

* Fix some doc
2018-11-06 15:45:15 +08:00
Xin,Zhang dc379fd351 Fix issue that H2 plugin is ineffective (#1878) 2018-11-06 07:53:47 +08:00
吴晟 Wu Sheng e9d4c52a03
Make sure heartbeat working always. (#1873)
* Make sure heartbeat working always. cc @liuhaoyang make sure .net agent hasn't this issue.

* FIx CI.
2018-11-02 23:54:33 +08:00
吴晟 Wu Sheng 7cd805a822
Make setting and doc consistent with backend default settings. (#1860) 2018-11-01 18:04:22 +08:00
吴晟 Wu Sheng 13f8825904 Bug fix (#1857)
* Fix mesh receiver doesn't update heartbeat.

* Fix bug of mesh heartbeat and rest receiver.

* Fix issue: opencensus is included in agent without shade. @tuohai666
2018-11-01 16:50:07 +08:00
吴晟 Wu Sheng 07e799e422 Fix bugs (#1854)
* Avoid service inventory object concurrency situation.

* Fix concurrency for minute persistence and others

* Fix document todo.

* Update license. Fix package with dirty agent plugin jar files.

* Fixed not combine error in persistence register worker.
2018-10-31 23:11:52 +08:00
吴晟 Wu Sheng 8cd327d8bb
Revert #1790 reset feature and provide default alarm settings. (#1833)
* Revert reset feature.

* Set default dist alarm settings and make dist package setting files right.

* Support empty list.
2018-10-28 22:28:21 +08:00
吴晟 Wu Sheng a9489b7067
H2 storage (#1712)
* H2 storage code skeleton.

* Add batch dao for H2.

* Fix wrong refactor.

* Add codes of other dao. No metric dao, wait for @peng-yongsheng new PR.

* Change license of distribution

* Add topology query in H2.

* Add more daos.

* Add some daos.

* Commit all H2 daos. Wait @peng-yongsheng to submit new IAggregationQueryDAO interface.

* Fix some CIs

* Fix wrong refactor, which causes h2 plugin failure.

* Fix all codes of H2 storage. :) and CI should pass. No test.

* Fix CI and typo

* Fix connection closed.

* Fix register bug

* no message

* Fixed service inventory register bug.

* Fix a compile issue.

* Sync change

* Reset es as default storage.

* Fix rat

* Fix H2 compile issue.

* Fix bugs for H2 storage.

* Fix bug in mesh.

* 1. Fix Thermodynamic query bug
2. Fix service inventory query bug
3. Fix missing traceid in trace query bug

* Fix query bug.

* Submit reverse caused by prev PR.

* Fix duplicate spans.

* Use H2 as default storage implementor.

* Fix bug in topology query.

* Fix CI

* Fix rat

* Fix two query in H2 storage.

* Fix H2 query

* Make release running in H2 mode and develop mode running is ES mode in default
2018-10-28 10:31:58 +08:00
刘新元 Liu XinYuan b11d479337 Add service and instance reset function (#1790)
* Manually trigger agent registration and write registration status to file

* Delete unused variables

* Code optimization, encapsulating some methods

* add clear DataCarrier function

* revert SkyWalkingAgent

* Optimize code and logic, including updating applicatin_id in unRegisterOperationNames

* Server end metadata loss notification

* Server end metadata loss notification

* fix file stream close and other problem

* revert to old

* fix some bug

Signed-off-by: Liu-XinYuan <879928098@qq.com>

* fix some bugs in agent reset

* add close inputStream and fileChannel and fix some bug

* fixed some bugs
2018-10-27 19:58:15 +08:00