Commit Graph

674 Commits

Author SHA1 Message Date
lican db8b931cbb Fix If traceId not exists result will return all traces (#1178) 2018-05-06 22:05:26 +08:00
lican d14eb2be3f fix first formula,like #1164 (#1179) 2018-05-06 21:33:09 +08:00
彭勇升 pengys d24c325384 Do not get alarm metric for overview and application topology. (#1173)
* Do not get alarm metric for overview and application topology.

* Delete server and service alarm metric only.
2018-05-04 23:41:25 +08:00
彭勇升 pengys 20df4130fe
Module class rename to ModuleDefine, Module is the JDK9 class. It is conflict with our Module class. (#1168) 2018-05-04 17:48:47 +08:00
彭勇升 pengys bb1efe5d60 Get conjectural node component name from component server name. (#1165) 2018-05-04 16:17:04 +08:00
lican 4fc5cc3318 fix_average_duration_zero (#1164) 2018-05-04 15:31:56 +08:00
彭勇升 pengys 89d79012da #1162 (#1163)
Delete buffer directory when collector restart.
2018-05-04 14:40:11 +08:00
彭勇升 pengys 5f3022889b
Rename thermodynamic attributes. (#1161)
* Rename thermodynamic attributes.

* A missing attribute name.
2018-05-04 13:09:23 +08:00
彭勇升 pengys 42eaa1f2ae Use SortOrder instead of SortMode, because SortMode sort column type of Array only. (#1157) 2018-05-03 23:10:40 +08:00
彭勇升 pengys 388beeabaa Segment start time: minimum start time in all span (#1156)
Segment end time: maximum end time in all span

#1149
2018-05-03 21:52:34 +08:00
彭勇升 pengys 0313f18f6c Name incorrect (#1153) 2018-05-03 18:28:23 +08:00
lican 9e4a4553b6 Add collector agent test (#1137)
* init test

* update

* agent-grpc-test

* part

* fix based on org.apache.skywalking.apm.agent.core.context.trace.AbstractTracingSpan.logs

* Fix Code Bug

* Add Test

* Fix Text

* add SegmentCounterTest
2018-05-03 17:51:08 +08:00
Xin,Zhang 4127b2369e Add NodeJS components (#1144) 2018-05-02 23:49:16 +08:00
Lemon 01b5d4901e Add EntityFrameworkCore provider components in component-libraries config (#1142)
* Add EntityFrameworkCore provider components in component-libraries config

* Fix component-libraries.yml
2018-05-02 11:17:08 +08:00
lican b0684ed9e6 Fix data ttl keeper timer test case bug (#1138)
* Fix Test

* Fix Test
2018-05-01 11:09:24 +08:00
lican 2deb0843d3 Fix Protocol doc Error And LogJsonReader Bug (#1135)
* fix based on org.apache.skywalking.apm.agent.core.context.trace.AbstractTracingSpan.logs

* Fix Code Bug

* Fix Doc
2018-04-30 07:48:26 +08:00
彭勇升 pengys 574bb43c87
Use LinkList to collect unique records. (#1133)
* Add non-merge persistence worker for segment, segment_duration, global_trace persistence.

* omitted class.

* Disable _all field.

* no message
2018-04-28 22:05:17 +08:00
Gao Hongtao 268ea2f0d0 Fix #1127 Comparison method violates its general contract (#1129) 2018-04-28 11:07:49 +08:00
lican ccda2c4e7c refrence may be always 0 (#1125) 2018-04-27 11:39:01 +08:00
lican adc2929354 fix judge error (#1116) 2018-04-25 15:19:09 +08:00
Gao Hongtao d28cc64f79 Refactor tps to cpm (#1105)
* Refactor tps to cpm

* Change the implementation for new graphql protocol.

* Add aggregate column named duration in GC metric table.

* getGCTrend query finished.

* Change between seconds to between minutes.
2018-04-24 11:40:49 +08:00
彭勇升 pengys 368a5f4b09
Add missing tables which need to clean data when timeout. (#1110)
* Delete aggregate with second time bucket.

* Add missing tables which need to clean data when timeout.

* Fixed check style error.
2018-04-23 22:41:22 +08:00
彭勇升 pengys 1d0992ee5b Delete aggregate with second time bucket. (#1108) 2018-04-23 16:33:47 +08:00
lican e11a5df627 trace query start_time desc (#1106) 2018-04-23 15:53:43 +08:00
彭勇升 pengys 4b96bc0de5 The implementation of getThermodynamic in overview page. (#1107) 2018-04-23 14:25:29 +08:00
吴晟 Wu Sheng 1e57d48d94 GraphQL for Thermodynamic in overview page. (#1068)
* Provide graphQL for Thermodynamic in overview page.

* Finish the Thermodynamic.

* `nodes` should not be null.

* Add initialized java bean for graphql protocol.

* Add license head.

* Fixed bean definition fault.
2018-04-23 09:31:39 +08:00
彭勇升 pengys 8cafc058db Aggregate response time distribution metric and persistent into database. (#1104) 2018-04-23 06:17:27 +08:00
吴晟 Wu Sheng 4943993355 Fix component libraries yml (#1103)
* Add test case for official component-libraries.yml file

* Fix a missing id in component-libraries.yml
2018-04-23 00:00:52 +08:00
Lemon a551b1b3a4 Add .NET/.NET Core components in component-libraries config (#1102)
* Add .NET/.NET Core components in component-libraries config

* Use [3000, 4000) for C#/.NET.
2018-04-22 21:59:26 +08:00
彭勇升 pengys e736102594 Fixed #1090 (#1101)
* Fixed #1090

1. Move setting the performance from create table action to install action.
2. Add check step that avoid filed type not match the definition when project upgraded.

* Setting namespace by class construct.
2018-04-22 16:14:27 +08:00
彭勇升 pengys fc322e1aad Feature/1064 (#1093)
* Sample of DAO javadoc.

#1064

* Part of UI DAO documents commit.

* Describe all DAO in UI module .

#1064

* The class be tested was deleted.

* Fixed compile failure.

* Fixed CI failure cause of special character.

* gte -> gt
lte -> le

#1064
2018-04-21 12:39:29 +08:00
Nik b0d6231022 Replaced ObjectUtils for Objects methods (#1094)
* Replaced ObjectUtils for Objects methods
2018-04-19 14:02:12 +08:00
吴晟 Wu Sheng bd1286aac4 Refactor ServerTypeDefine and ComponentsDefine to be more extendable (#1081)
* Refactor the old ComponentDefine and ComponentsDefine to be based on file for better extenable.

* Support don't uplink componentId, but componentName in segment.

* Fix CI.

* Move component id exchange logic from SpanDecorator to SpanIdExchanger.

* Fixed the compile error cause of class construct changes.
2018-04-17 04:32:10 -05:00
lican f62381c494 apm collector ui module testcase completed (#1079)
* empty service testcase

* complete GraphQLHandlerTest

* some test completed

* apm-collector-ui testcase completed
2018-04-17 10:40:06 +08:00
彭勇升 pengys 9aa615d77f Feature/1032 (#1073)
* Provide short database column name.

* Compile successful

* Attribute name change from source to target.

* Provide highPerformanceMode setting for short column name speciality.

* Fixed a bug that persistent timer started multiple times.
Running about 10 minute, the result of collector performance test is above 1w TPS when using MacBook 2017.
2018-04-14 09:18:40 +08:00
lican b4ded22c87 add some basic testcase(apm-util and partial collector-ui-jetty-provider) (#1072)
* commons testcase

* some ui module query testcase

* add testcase

* fix some checkStyle issue

* add some null testcase

* remove

* add license

* fix author error

* remove invalid tag @date

* add license which has been missed
2018-04-13 23:58:47 +08:00
彭勇升 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