Commit Graph

40 Commits

Author SHA1 Message Date
彭勇升 pengys dfe2b08599 [OAP Server][Cluster Plugin] Provide consul cluster plugin (#2036)
* Provide consul cluster plugin.

* Change log and application config file.

* Add consul's config item into the docker's application.yml.

* Fixed bug.

* Add consul description into  readme.

* Add okhttp component license.
2018-12-12 08:14:41 -08:00
彭勇升 pengys 27c475f74c 1. Make storage and cluster using same name space. (#2014)
2. Zookeeper implementation of the cluster module using name space to support using same zookeeper cluster by different OAP clusters.
2018-12-06 21:03:00 +08:00
Jared.Tan dc393b1c12 refactoring PropertyPlaceholderHelper class. (#1989) 2018-12-03 11:50:59 +08:00
吴晟 Wu Sheng 215eab7428
Mysql style storage implementation (#1964)
Also fixed several bugs in this merge.
2018-11-28 22:59:02 +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
a198720 578fd70395 fixed bug: multiple formatIndexName in forceUpdate method (#1960) 2018-11-25 22:14:08 +08:00
彭勇升 pengys 983f7613b6 1. Close the output stream when switch to write next file. (#1958)
2. Close the input stream when switch to read next file.

#1665
2018-11-25 16:49:35 +08:00
Jared.Tan e697385b53 feat:support set config from system.envs. (#1919)
* support set config from system.envs.
2018-11-23 14:52:37 +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
彭勇升 pengys afd6164335 OAP server testing module. (#1931)
* OAP server testing module.

#1930

* #Missing delete code.
2018-11-18 20:22:56 +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
吴晟 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 dbf0444ec1
Fix NPE in protobuf and illegal query parameter. (#1847) 2018-10-30 12:17:17 +08:00
吴晟 Wu Sheng b6241b2ad2
Optimize collector settings and indicator (#1841)
* Support maxConcurrentCallsPerConnection and maxMessageSize in grpcServer

* Make percent percent is 1/10000

* Fix test cases.

* Make service instance indicator dispatch based on server side only.

* Set init data right in AlarmMeta.

* Make endpoint query based on server side only.
2018-10-29 20:45:44 +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
彭勇升 pengys 7bb577a4e9 Provide auto delete history data service. (#1797) 2018-10-22 20:20:29 +08:00
彭勇升 pengys 966d5f54f1 Fixed the bugs, #1750, #1749, #1748, #1746, #1745 (#1755) 2018-10-11 19:37:57 +08:00
吴晟 Wu Sheng b643190005 Add alarm timestamp. (#1741) 2018-10-10 14:15:24 +08:00
彭勇升 pengys 065a384f10 Trace buffer test success. (#1733) 2018-10-08 23:17:15 +08:00
吴晟 Wu Sheng 2f43cb940e
Fix start when not config in provider and don't get module in prepare stage. (#1711) 2018-09-27 16:07:04 +08:00
彭勇升 pengys 13fa30307a Add record persistence stream analysis. (#1683) 2018-09-19 15:21:56 +08:00
彭勇升 pengys 2bad786e79 Analysis and query implementation of thermodynamic. (#1678)
* Metric query.

* Analysis and query implementation of thermodynamic.
2018-09-16 10:57:12 +08:00
彭勇升 pengys 7e149ab3f6 Metric query. (#1677) 2018-09-15 15:53:28 +08:00
彭勇升 pengys bc571259b2
Streaming analysis topology test success. (#1646)
* Add generate indicator and dispatcher about service topology but not test.

* Delete call type from service relation.

* Streaming analysis topology test success.

* Fixed the check style error.
2018-09-09 15:30:43 +08:00
彭勇升 pengys d0e68872da SkyWalking's trace receiver implementation. (#1618)
* Buffer stream.

* Buffer file reader.

* Buffer library performance test and functional test successfully.

* Fixed the code merge mistake.

* SkyWalking's trace receiver implementation.

* SkyWalking's trace receiver implementation.

* Delete collector module.
2018-09-04 11:18:29 +08:00
彭勇升 pengys 5e3afe5ec2 Buffer library performance test and functional test successfully. (#1612)
* Buffer stream.

* Buffer file reader.

* Buffer library performance test and functional test successfully.

* Fixed the code merge mistake.
2018-08-31 06:32:51 +08:00
彭勇升 pengys ee46760dc6 Buffer file implementation (#1607)
* Buffer stream.

* Buffer file reader.
2018-08-30 12:55:05 +08:00
peng-yongsheng ffece1617a Indicator analysis test successfully. 2018-08-20 11:01:33 +08:00
彭勇升 pengys 4ea4e04ecc
Service inventory register test success. (#1552)
* Register start up.

* Service inventory register test success.
2018-08-17 02:21:58 +08:00
彭勇升 pengys 428b2cd78a Feature/oap/annotation (#1531)
* Use annotation to instead of definition file.
2018-08-08 20:09:02 +08:00
彭勇升 pengys 6c88659c0c [OAP Server] Register lock implementation. (#1528)
* Use elasticsearch's document version to implement a lock for register source id.

* Return false when could not lock the document.
2018-08-07 17:34:36 +08:00
彭勇升 pengys 3b1ffa93d9
[OAP Server] Log bridge and receiver package name. (#1521)
* Add commons-logging bridge for elastic search client.

* Rename receiver package name.
2018-08-04 11:02:52 +08:00
彭勇升 pengys 06165a0359 Feature/oap/storage (#1516)
* Storage and Persistence.

* Storage config.

* Fixed the CI failure.
2018-08-03 12:01:53 +08:00
彭勇升 pengys efe5299d03 Feature/oap/remote (#1505)
* Sample operator code.

* Indicator aggregator framework.

* Provide some annotation for OAL.

* Remote module.

* Register service.

* Add apache license header.

* Ignore comments when load definition files.
2018-07-30 09:54:36 +08:00
Wu Sheng 62ca37bc8f Refactor codebases for v6, restore modulization back 2018-07-20 11:40:00 +08:00
Wu Sheng 42072d8583 Open this method for test cases. 2018-07-19 23:11:26 +08:00
Wu Sheng e7ec6dcc31 Fix some test cases 2018-07-19 22:52:33 +08:00
Wu Sheng e05b99a936 Restore module management. 2018-07-19 22:43:14 +08:00
彭勇升 pengys de3bc220e0 [OAP Server] Core framework (#1472)
* Receiver, aggregate, server finished.
2018-07-19 11:24:01 +08:00
彭勇升 pengys dcdfeb1e14 Feature/oap/cluster plugin (#1440)
* Cluster module implementation finished.
2018-07-10 23:50:08 -07:00