Commit Graph

139 Commits

Author SHA1 Message Date
吴晟 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
彭勇升 pengys 948ef6d1c4 Fixed the bugs of the OAP server running in cluster mode. (#1844)
* 1. Fixed the bug of the cluster node sync failure cause by curator instance cache is null.
2. Fixed the bug of the collection in remote data builder is not initialized.

* 1. Re-generate indicator.

* Fixed the bug of the collection in remote data builder is not initialized.

* Fixed the bug of the remote client created but not  initialize.
2018-10-29 17:31:30 +08:00
Gao Hongtao 90bb8c6c9d Fix k8s api bugs (#1842)
* Update submodule skywalking-ui

* Fix k8s api bugs
2018-10-29 16:02:20 +08:00
吴晟 Wu Sheng 974192ecd8 Keep service instance register based on UUID, but change name to a meaning string. (#1836) 2018-10-29 09:28:33 +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 2dd4f54957
Add some missing documents for v6 (#1830)
* Add more documents for v6.

* Make default setting consistent .
2018-10-28 21:45:58 +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
Xin,Zhang 072ee39746 Fix issue that the oap package miss configure file (#1826) 2018-10-27 12:33:02 +08:00
彭勇升 pengys 9b3192fbac Set span layer into network inventory for distinguish what the network address is. MQ? DB? ... (#1824) 2018-10-26 22:57:05 +08:00
吴晟 Wu Sheng d9556c38fc
Make Mesh and Istio receivers ready (#1821)
* Make receiver more effective

* Add Istio test case and all source dispatch in

* Refactor mock data

* FIx rat.

* Support call component.

* Fix ThermodynamicIndicator bug.

* Fix test cases.

* Fix missing calculate in db merging.

* Add codes for debug.

* 1. Fixed elasticsearch bulk process not fresh bug. (#1819)

2. Fixed the bug of source register no queue but wait the end for batch tag.

* Remove debug log, and restore TTL timer for real scenarios.
2018-10-26 15:17:33 +08:00
彭勇升 pengys 24e958fec0 1. Fixed the bug of inventory equals method. (#1814)
2. Fixed the bug of agent mock register order.
3. Fixed the bug of all heatmap.
2018-10-25 21:23:20 +08:00
彭勇升 pengys 6c92fc5484 1. Delete service component indicator. (#1809)
2. Make service relation and endpoint relation to record component id.
3. Delete service mapping indicator.
4. Make service inventory to record mapping service id.
5. Refactor global topology query and service topology query.
2018-10-25 11:19:31 +08:00
彭勇升 pengys 7bb577a4e9 Provide auto delete history data service. (#1797) 2018-10-22 20:20:29 +08:00
彭勇升 pengys 4063397988 Trigger service heartbeat when received service instance heartbeat. (#1785)
Fixed some meta query bugs.
2018-10-17 22:44:21 +08:00
彭勇升 pengys 064595eb81 Fixed the segment parse bug. Each use requires the creation of a new instance. (#1784) 2018-10-17 19:13:08 +08:00
彭勇升 pengys 4e99e896c2
Set instance attributes into return value. (#1783)
* Set instance attributes into return value.

* Delete unused code.
2018-10-17 18:40:10 +08:00
吴晟 Wu Sheng cb0b817ffb
Fix indicator merge failue. (#1782) 2018-10-17 16:42:03 +08:00
彭勇升 pengys a12e8badb8 Provide new getEndpointInfo service in query protocol. (#1780) 2018-10-17 12:19:33 +08:00
彭勇升 pengys b367c36db9
Fixed the endpoint topology bug. (#1778)
* Delete the client side endpoint relation indicator.
Fixed the endpoint topology bug.

* Fixed package failure bug.
2018-10-17 11:28:16 +08:00
彭勇升 pengys f78abfb28c Fixed the bug of service topology and global topology. (#1775) 2018-10-16 18:40:42 +08:00
彭勇升 pengys 72f2b1cd78 Provide rest protocol for register and trace receiver. (#1774) 2018-10-16 17:01:49 +08:00
彭勇升 pengys c467e5c723 Fixed JVM handler error. Forgot to use break in switch case code. (#1766) 2018-10-15 16:02:51 +08:00
彭勇升 pengys b426390b79
Support metrics downsampling. (#1765)
* Support metrics downsampling.

* Fixed a check style error.
2018-10-15 15:27:38 +08:00
彭勇升 pengys a81b9920cd Set the function attribute for indicator and use AVG function to be the default value. (#1757) 2018-10-12 12:29:22 +08:00
吴晟 Wu Sheng 474b25e768 Set assemble based on assemble setting files. (#1756) 2018-10-12 10:45:24 +08:00
彭勇升 pengys 966d5f54f1 Fixed the bugs, #1750, #1749, #1748, #1746, #1745 (#1755) 2018-10-11 19:37:57 +08:00
彭勇升 pengys 7c192b19d6
Alarm query and alarm persistence test. (#1753)
* Alarm query and alarm persistence test.

* Fixed the package error.
2018-10-11 15:55:04 +08:00
吴晟 Wu Sheng 3f8af95df0 Alarm silence init wrong. (#1752) 2018-10-11 10:38:52 +08:00
彭勇升 pengys ef63bc63cb The heartbeat implementation for all the scopes. (#1742) 2018-10-10 16:25:50 +08:00
吴晟 Wu Sheng b643190005 Add alarm timestamp. (#1741) 2018-10-10 14:15:24 +08:00
彭勇升 pengys 9e208d0484 Fixed the bug of the getValues method in metric query. (#1739) 2018-10-10 13:05:40 +08:00
彭勇升 pengys 1955e9d3cf Add alarm message persistent method. (#1738) 2018-10-09 23:32:56 +08:00
彭勇升 pengys 1a49f7053c Get the value column name from value column annotation manager. (#1737) 2018-10-09 21:58:26 +08:00
彭勇升 pengys a062fdae71 Fixed the bug from topology. (#1736)
* Fixed the bug from topology.

* no message
2018-10-09 20:33:04 +08:00
Gao Hongtao 3f975d2b83 Add isValue parameter to annotation (#1735) 2018-10-09 13:17:38 +08:00
吴晟 Wu Sheng 15d00ca08d
Fix wrong column name. (#1734) 2018-10-09 12:48:19 +08:00
彭勇升 pengys 065a384f10 Trace buffer test success. (#1733) 2018-10-08 23:17:15 +08:00
Gao Hongtao 46c55ebdb9 Fix linear data npe (#1731)
* Avoid null point exception
2018-10-08 22:37:22 +08:00
彭勇升 pengys 363b925ade Update the version of submodule named query protocol. (#1732) 2018-10-08 21:44:14 +08:00
吴晟 Wu Sheng 7ad619ac91
Prepare new doc for v6 (#1695)
* Replace v5 changes by a link to 5.x branch. New v6 changelog.

* Finish query doc and fix a missing field in alarm doc.

* Add link to official oal in alarm doc.

* Fix words.

* Fix some doc

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2018-10-07 09:51:29 +08:00
吴晟 Wu Sheng 4cae884fc0
Add endpoint id to trace query. (#1722) 2018-09-28 19:22:15 +08:00
吴晟 Wu Sheng 04d0f55475
Support endpoint cpm (#1723) 2018-09-28 18:13:33 +08:00
吴晟 Wu Sheng 750bca2241 Add new indicators and change two indicator names. (#1721) 2018-09-28 16:59:25 +08:00
吴晟 Wu Sheng abc15a361b Make sure can get endpoint list with empty keyword. (#1719) 2018-09-28 15:19:07 +08:00
Gao Hongtao 1bfc68c8ab Fix thermodynamic query error (#1716)
* Avoid query error by adding initial instance to AlarmTrend

* Fix thermodynamic query
2018-09-28 12:21:24 +08:00
吴晟 Wu Sheng 813ea1ed39 Make DetectPoint in Mesh gRPC protocol, DetectPoint in Source, and SpanSrcType convert right. (#1714) 2018-09-28 11:52:31 +08:00
Gao Hongtao f162fccf8b Avoid query error by adding initial instance to AlarmTrend (#1713) 2018-09-27 21:12:50 +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
吴晟 Wu Sheng 69cccd1541
Remove ci cache and remove out-of-date dependency. (#1709) 2018-09-27 13:09:29 +08:00