Commit Graph

202 Commits

Author SHA1 Message Date
吴晟 Wu Sheng 83e0e5758f Make compare right. (#1899) 2018-11-09 22:23:50 +08:00
ScienJus 926911700e Fix logs with missing variables (#1884) 2018-11-06 18:32:02 +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
Jared.Tan 7537af0598 Fix the test case. (#1879) 2018-11-06 09:21:35 +08:00
吴晟 Wu Sheng 4399c66278
Make metric value to long to avoid too big integer issue. (#1876)
* Make metric value to long to avoid too big integer issue.

* Update protocol.

* Add a new filter to service number.
2018-11-03 23:25:28 +08:00
彭勇升 pengys 884dd8c59e Add detect point to be a part of unique key of the endpoint id. (#1874) 2018-11-03 00:55:00 +08:00
吴晟 Wu Sheng 76e4c5996d
avoid NPE. (#1869) 2018-11-02 15:00:33 +08:00
吴晟 Wu Sheng 75e4c67952 Endpoint register to client and server side based on detect point. (#1866) 2018-11-02 12:07:25 +08:00
彭勇升 pengys 6b1014c336 Fixed the collector OOM bug. (#1862)
* Fixed the bug of remote client not blocked when not received on complete message, it will carry the out of a memory exception.

* Sleep 10ms, not to sleep max 10ms.

* No more than 10 stream observers are allowed at the same time to send remote message. Otherwise block the remote queue.

* no message
2018-11-02 10:33:24 +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
Gao Hongtao 279c81e9fc
Fix k8s api connection leak (#1848)
* Update submodule skywalking-ui

* Fix k8s api bugs

* Fix api connection leak
2018-10-30 16:05:18 +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
彭勇升 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
chenpengfei d941892664 Add Undertow 2.x plugin (#1700)
* Add Undertow 2.x plugin

* Undertow: Interceptor method executeRootHandler in class Connectors

* Change version number to 6.0.0-alpha-SNAPSHOT
2018-09-26 09:30:42 +08:00
吴晟 Wu Sheng 9d6bf6787b
Finish mesh source dispatch (#1687)
* Merge module and provider of mesh

* Finish the skeleton of mesh receiver.

* Finish mesh dispatcher.

* Fix missing timebucket
2018-09-26 08:20:55 +08:00
吴晟 Wu Sheng 933ae20b1c Alarm module code core ready (#1644)
* Support alarm message.

* Fix document words.

* Support alarm hook.

* Fix javadoc issue.

* Sync submodule

* Sync submodule
2018-09-25 20:23:36 +08:00
彭勇升 pengys 53b9e7f828 Implementation of aggregation query. (#1702) 2018-09-25 19:14:37 +08:00
彭勇升 pengys e83e175a42 Meta data query implementation are all finished. (#1692) 2018-09-23 12:42:46 +08:00
彭勇升 pengys 0576466031 Implementation of metadata query. (#1686) 2018-09-21 11:47:40 +08:00
彭勇升 pengys 99fdf02b8a Feature/trace query (#1685)
* Implementation of trace query.

* Implementation of trace query.
2018-09-20 17:31:57 +08:00
彭勇升 pengys 13fa30307a Add record persistence stream analysis. (#1683) 2018-09-19 15:21:56 +08:00
吴晟 Wu Sheng 7e23f49539
Generate all metric for official release, also new func (#1679)
* New generated indicators for real backend system.

* Support cpm and new indicators.

* Fix CI and change document.

* Remove an useless line.
2018-09-17 12:02:01 +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 366609a449 Endpoint topology metric and query. (#1674) 2018-09-14 14:00:03 +08:00
彭勇升 pengys babc6d2930 Global topology and service topology write by manual. (#1671) 2018-09-13 19:10:47 +08:00
吴晟 Wu Sheng fd83aa55af Support new indicator core. (#1669)
* Support new indicator core.

* Block 2 unaccessible methods.

* Add service call as manual indicator and refactor the core DIspatcherManager
2018-09-13 16:38:50 +08:00
吴晟 Wu Sheng 87449d016c Add IDColumn Annotation. (#1667) 2018-09-12 21:09:08 +08:00
吴晟 Wu Sheng 973ad9e35d
Support time bucket transfer for all indicators. (#1664)
* Add transfer time bucket methods.

* prepare to merge

* Support time bucket transfer.
2018-09-12 18:44:13 +08:00
彭勇升 pengys 23b8d6ef41 Finished topology query. (#1663)
* Finished topology query.

* Fixed the bug of CI failure and startup failure.
2018-09-12 17:35:54 +08:00
吴晟 Wu Sheng 1936d38d16 Support ThermodynamicIndicator (#1659)
* Add 3 cases for existed indicators.

* Add Pxx indicator.

* Support All in trace analysis listener.

* Fix CI and add P99/95/90/75/50 to source ALL.

* Add ThermodynamicIndicator and its test. Also ALL source Thermodynamic metric.

* Try to fix CI about javadoc.
2018-09-12 14:18:02 +08:00
吴晟 Wu Sheng 5a55b9ba1b Provide Pxx(p99,p95,p90,p75,p50) indicators and All dispatcher (#1654)
* Add 3 cases for existed indicators.

* Add Pxx indicator.

* Support All in trace analysis listener.

* Fix CI and add P99/95/90/75/50 to source ALL.
2018-09-11 16:20:22 +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 800a5353de Add generate indicator and dispatcher about service topology but not test. (#1638)
* Add generate indicator and dispatcher about service topology but not test.

* Delete call type from service relation.
2018-09-07 11:59:55 +08:00
刘新元 Liu XinYuan f0f4cde494 add the methods that are not in the graphql resolver and the classes … (#1634)
* add the methods that are not in the graphql resolver and the classes that are not in the type, and resolve the StackOverFlowOver that starts the report.

* add license

* update file header
2018-09-06 21:11:07 +08:00
吴晟 Wu Sheng b4ebb5bcbb
Add miss setting file. (#1633) 2018-09-06 12:28:03 +08:00
彭勇升 pengys f75270b43a v6 startup successful. (#1625)
* Fixed the startup failure cause by query protocol.

* Fixed the bug of startup failure.
2018-09-04 21:41:13 +08:00
彭勇升 pengys 73679fc0f0 Fixed the startup failure cause by query protocol. (#1623) 2018-09-04 19:02:32 +08:00
吴晟 Wu Sheng 86452fd2b6 Fix all sources and sourceDispatchers. (#1620) 2018-09-04 17:36:44 +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
Wu Sheng 1f2a6f2277 Move count and silenceCount into window. 2018-09-03 16:42:18 +08:00
Wu Sheng de41730621 Remove old dependency. 2018-09-03 16:33:57 +08:00
Wu Sheng 231ff105c8 Bind v6 query to query-protocol git repo. 2018-09-03 16:33:10 +08:00
Wu Sheng f2811800b2 Add more ducoments. 2018-09-03 15:46:04 +08:00
Wu Sheng 1b0d80c5fc Add a lot of documents. @peng-yongsheng @hanahmily . Also @hanahmily , the k8 cluster management document and deploy document need you to add. 2018-09-01 23:32:59 +08:00
Wu Sheng 6d74e7829c Fix CI and release guide. 2018-08-31 22:57:19 +08:00
Wu Sheng fff7401283 Fix alarm issues. 2018-08-31 22:52:00 +08:00
Wu Sheng 4559c49e86 Change alarm notification to batch mode. 2018-08-31 20:01:01 +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
Wu Sheng b5378e757b Add optional test case for Alarm core. Wouldn't execute in CI. 2018-08-30 23:02:40 +08:00