Commit Graph

638 Commits

Author SHA1 Message Date
彭勇升 pengys 4eb5dabbea
Refactor the collector configuration initialization. (#1058)
* Refactor the collector configuration initialization.

#1047
2018-04-10 21:34:05 +08:00
lican 1052f7292f fix no data (#1053) 2018-04-09 15:50:43 +08:00
彭勇升 pengys 566f7f8fbc Use formula instead of date format in time bucket util. (#1049)
Add contains point method instead instance of for decide span listener class type.
Transform minute time bucket just once.

#1032
2018-04-09 06:20:49 +08:00
彭勇升 pengys c42172f348 Feature/1032 (#1045)
* 1. Add the performance collection point.
2. Report formatter.

#1032

* Add a new cache implementation by caffeine.

#1032

* Performance optimization:
Make all the loggers class variable to have the static modifier.

* Time stamp format to time bucket performance optimization.

#1032
2018-04-07 22:33:10 +08:00
彭勇升 pengys 4607128c4d
Feature/1032 (#1043)
* 1. Add the performance collection point.
2. Report formatter.

#1032

* Add a new cache implementation by caffeine.

#1032

* Performance optimization:
Make all the loggers class variable to have the static modifier.
2018-04-07 20:57:44 +08:00
彭勇升 pengys b08309953e Feature/1032 (#1042)
* 1. Add the performance collection point.
2. Report formatter.

#1032

* Add a new cache implementation by caffeine.

#1032
2018-04-07 19:26:51 +08:00
彭勇升 pengys cc655e1435
1. Add the performance collection point. (#1041)
2. Report formatter.

#1032
2018-04-07 17:17:12 +08:00
lican 8834f30e3a avoid "by zero" exception when all request are error (#1022)
* avoid "by zero" exception when all request are error

* update pr about "by zero" exception

* update pr about "by zero" exception add 3 file change

* update pr about "by zero" exception add 1 file change

* update pr about "by zero" exception to solution 1
2018-04-05 11:03:02 +08:00
吴晟 Wu Sheng 90fb7b7149
Because of key issue, system env override can't be supported. (#1017)
* Because of key issue, system env override can't be supported.

* Override value only in supported types. Int, String, Long, Boolean.
2018-04-03 16:16:41 +08:00
吴晟 Wu Sheng 7a733ce458
Provide advanced features document (#1014)
* Provide document for TLS

* Provide direct uplink doc.

* Add namespace document.

* Provide token auth doc.

* Provide setting override document.

* Fix two typo.

* Fix more typos.
2018-04-02 17:18:17 +08:00
彭勇升 pengys 3caa08cc46 Provide dependencies management in collector root pom (#1012)
#1009
2018-04-02 15:09:45 +08:00
吴晟 Wu Sheng 049dc2fae8 Support collector service instrumentation (#730)
* Collector instrument agent.

* Make the agent.jar output to the /agent folder in collector package.

* Try to add metric annotation.

* Change the instrument ways.

* Reformat.

* Finish the agent codes. Wait for @peng-yongsheng 's metric requirements.

* Debug new instrument.

* Fix a detect bug.

* Finish the instrument

* Fix compile issue.
2018-04-01 11:16:01 +08:00
吴晟 Wu Sheng d322f52843 Support token auth in gRPC upstream (#1000)
* Add client side token.

* Fix ci.

* Fix most codes of token auth at both sides.

* Add settings in config files.

* Make auth interceptor doesn't throw expcetion.

* Update AuthenticationSimpleChecker.java

* Update AuthenticationActivator.java

* Revert "Update AuthenticationActivator.java"

This reverts commit 0935f18fd6802ab84c12e0609c21ef753ff51be3.

* Merge branch 'feature/token-auth' of https://github.com/apache/incubator-skywalking into feature/token-auth

# Conflicts:
#	apm-collector/apm-collector-agent/agent-grpc/agent-grpc-provider/src/main/java/org/apache/skywalking/apm/collector/agent/grpc/provider/AuthenticationSimpleChecker.java

* Fix Auhentication token works incorrect (#1001)

* Fix Auhentication token works incorrect

* Change way to build GRPC Channel

* Response an empty header when auth fails.
2018-03-31 20:06:48 +08:00
彭勇升 pengys eff39b0f1c Rename field name to osName in type AppServerInfo. (#1006)
#998
2018-03-30 22:44:18 +08:00
彭勇升 pengys bade4fd6c8 Make the exception message with the instance id which will help us to find the bug. (#1005)
Fixed #999
2018-03-30 22:09:34 +08:00
吴晟 Wu Sheng 9b1c6724d2
Support setting override through system.properties and envs. (#997)
* Support setting override through system.properties and envs.

* Remove test case.
2018-03-29 17:20:49 +08:00
吴晟 Wu Sheng 4a8372b9f5
Make sure module provider can't find other service in prepare stage. (#994) 2018-03-28 09:53:11 +08:00
Xin,Zhang 5624417c07 [Collector] fix the collector cannot started (#987) 2018-03-26 10:05:29 +08:00
吴晟 Wu Sheng e13ff79326 Sync to fix release check (#982)
Fix IPMC checks for releasing.
2018-03-24 17:11:04 +08:00
吴晟 Wu Sheng d8d28a0b33
Support TLS of gRPC between agent and server. (#968)
* Finish the prototype of TLS of gRPC between agent and server.

* Fix for rat check.

* Update GRPCChannelManager.java

* Update AgentModuleGRPCProvider.java

* Upgrade netty version (#971)

* Make sure end user can't start gRPC server with and without SSL in the same port.
2018-03-22 06:59:17 +08:00
吴晟 Wu Sheng 0e60d40d01
Support ES type/table namespace feature (#956)
* Proposal the code structure for table name prefix. Related to #932

* Fix style check.

* Keep ESDao table name in control.

* Finish all codes about ES namespace feature.
2018-03-22 06:03:51 +08:00
cyberdak 11ea4be87e fix #939 (#969)
* fix #939

fix #939

* fixcheckstyle
2018-03-21 13:51:43 +08:00
吴晟 Wu Sheng afcd3314d1
Fix zk path error. (#963) 2018-03-19 18:03:17 +08:00
彭勇升 pengys dcd6a71fce Asf/5.0 alpha/release (#959)
* Update docs for alpha release

* Delete a comma.

* Update How-to-build.md

* Add data-set licenses file

* Rename LICENSES-data-set to LICENSE-data-set

* Update LICENSE

* Remove fastclick from LICENSE

* Make the git submodule command to be a maven profile plugin. Let this command not execute by default install command.

* [maven-release-plugin] prepare release apm-5.0.0-alpha

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

* Product name is not correct

* Add more documents for release.

* Change profile id.

* Add CHANGES file in distribution file.

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

This reverts commit ac81501929f72ab3a276b8d782759eb6f652bfa3.

* Revert "[maven-release-plugin] prepare release apm-5.0.0-alpha"

This reverts commit 095597c9189589667c2a333d85bd46f6dca90c80.

* Add rat plugin to check dependency license and add license head into missing files.

* Fix docs.

* Exclude web ui config file.

* Next release guide.

* UI update.

* Update docs.

* Build source shell.
2018-03-19 06:09:09 +08:00
吴晟 Wu Sheng 41f41d12e3
Support zk namespace (#955)
* Support zk namespace, #935

* Revert default changes.
2018-03-16 18:32:51 +08:00
吴晟 Wu Sheng 08267611a2 Prepare beta iteratoration (#944)
* [maven-release-plugin] prepare release apm-5.0.0-alpha

* [maven-release-plugin] prepare for next development iteration
2018-03-13 23:47:38 -05:00
彭勇升 pengys 6fa179e18f Fixed #904. (#923)
The time range expression for query the live instance between the start time and end time is incorrect.
2018-03-09 23:49:25 +08:00
彭勇升 pengys 9529a75bc9
Fixed/920 (#921)
* Fixed #920

* Sync sub module.
2018-03-09 18:50:59 +08:00
彭勇升 pengys 3bde71ceab Fixed/918 (#919)
* Fixed #918

* 1. Fixed the remote serialize exception bug when there was a null value in string array.
2. Fixed the topology null exception bug when source or target application id is 0.
2018-03-09 15:19:55 +08:00
彭勇升 pengys fc2e518e4e Fixed #906 and #903 (#916)
* Fixed the no data avg throughput in service bug.

* Fixed no parent dependency for service dependency graph #906
2018-03-09 06:18:41 +08:00
彭勇升 pengys 285ad0a353 1. Fixed the OverViewLayerQuery#getTopNSlowService method bug which is not order by average response time. (#913)
2. Fixed the OverViewLayerQuery#getTopNApplicationThroughput method bug which is not order by TPS.
3. Fixed the ApplicationQuery#getSlowService method bug which is not order by average response time.
4. Fixed the ApplicationQuery#getServerThroughput method bug which is not order by TPS.

#907
2018-03-08 21:09:57 +08:00
彭勇升 pengys e05d9e81df
Feature/905 (#912)
* 1. Add transaction average duration, business transaction average duration, MQ transaction average duration into all metric entities, DAO define, persistence DAO.
2. Add formula calculate operation.

* Refactor the package name in storage module, make the table define and dao package’s name same as others.
2018-03-08 17:04:07 +08:00
彭勇升 pengys f75b067bb7 Table name and time bucket error (#900)
* Get the MQ server address id from reference.

* Fixed the remote exception bug when running cluster mode collector.
How: Register remote data entity into remote module.

* Fixed the bug which the end second time bucket calculate result is incorrect.

* Fixed a test case error.
2018-03-07 20:03:35 +08:00
彭勇升 pengys d04d85900e Collector cluster mode stream error (#899)
* Get the MQ server address id from reference.

* Fixed the remote exception bug when running cluster mode collector.
How: Register remote data entity into remote module.
2018-03-07 17:38:25 +08:00
彭勇升 pengys 6e8925084e Get the MQ server address id from reference. (#891) 2018-03-06 15:59:29 +08:00
吴晟 Wu Sheng 26d108d882
Merge branch 'master' into fix/remove-docker 2018-03-06 06:16:20 +08:00
ascrutae 6c13c386fd Remove docker document and docker plugin 2018-03-05 22:32:33 +08:00
彭勇升 pengys 845f553c92
Merge branch 'master' into feature/http_json 2018-03-05 22:24:45 +08:00
peng-yongsheng 395ad44a4c The instance heart beat implementation of http JSON protocol. 2018-03-05 22:18:47 +08:00
peng-yongsheng 9906e68451 When entry span layer is MQ:
1. Use peer id in entry span to find the instance id and application id.
2. Make the instance id and application id to be the front instance id and front application id of the reference metric.
3. Do not create the application mapping metric.
2018-03-05 20:55:47 +08:00
peng-yongsheng 87c0f73e10 Make the page number to be 1 when the value equal to 0. 2018-03-05 20:27:59 +08:00
peng-yongsheng a9850c136e Report @ 2018/03/04 23:00, Application, [COLLECTOR] The topology is incorrect.
Fixed the getApplicationTopology bug, remove the application node which not contains the source or target of calls.
2018-03-05 13:18:42 +08:00
peng-yongsheng c587b9f009 Report @ 2018/03/04 23:00, Dashboard [COLLECTOR] The /api/dashboard response is incorrect .
Fixed the number of application bug.
2018-03-05 13:01:52 +08:00
peng-yongsheng 610edfe426 Fixed compile error. 2018-03-04 14:32:01 +08:00
peng-yongsheng ca20d08837 Use application mapping to get the actual application id for the alarm title. 2018-03-04 14:29:26 +08:00
peng-yongsheng 0006cb4b10 Fixed the NullPointerException in getServerThroughput method. 2018-03-04 14:10:51 +08:00
peng-yongsheng da3d993e4d Add application node when the source of reference is not have application metric. 2018-03-04 13:56:59 +08:00
peng-yongsheng c7dae338f0 Make the alarm trend rate value is 0 when application size equal to 0. 2018-03-04 11:35:07 +08:00
peng-yongsheng 8e3e0a3c55 Clear the duration in query condition when trace id is not empty. 2018-03-04 11:30:08 +08:00
peng-yongsheng 40eeb8739a 1. Get the service id only when agent register service name.
2. Setting the src span type when agent register service name.
3. Revert the topology build logic.
2018-03-04 00:22:45 +08:00