Commit Graph

156 Commits

Author SHA1 Message Date
peng-yongsheng d2753037bb Upgrade version to 6.0.0 alpha. 2018-07-07 10:46:41 +08:00
彭勇升 pengys 621ed2c0e3 [Collector] Add application id into service metric for UI (#1406)
* #1405
Add application id into service metric for the page jump from overview page to service page.

* Fixed test case error.
2018-06-29 07:02:27 +08:00
彭勇升 pengys 5e03ec8845
[Collector] Topology query tuning, Batch Process instead of bulk. (#1384)
* #1202

1. Determine the log is enabled for the DEBUG level before printing message.
2. Make the columns initialize to be static attribute.
3. Topology build optimize: Cache query result to avoid repeating queries.

* #1202

Add elasticsearch batch process setting into application.yml.

* #1202

Fixed check style error.

* #1202

Use XContentFactory to build source to insert into elasticsearch.
2018-06-25 21:19:54 +08:00
彭勇升 pengys aa9a89685a Accept multi entry spans in collector analysis (#1372)
* #1206

1. Support list data type attribute in streaming data.
2. Support multiple service names in segment duration index.

* Fixed the conflict.

* #1206

Add TODO description to notify linjiaqi.

* #1206

Remove @NotNull
2018-06-21 10:52:39 +08:00
吴晟 Wu Sheng ecc0f944d4
Zipkin receiver in SkyWalking collector (#1273)
* Add Zipkin receiver
2018-06-18 23:36:15 +08:00
彭勇升 pengys 5f81c0068e #1176 (#1335)
Add application id and code into ServiceInfo.
2018-06-09 19:40:04 +08:00
彭勇升 pengys c2a425f55a
Filter non-active service name when UI query. (#1262)
* #1124

Add heart beat time into service name index to filter non-active service name.

* Filter service name by heart beat time when query service name count.

* #1124
1. Add application id to be a query condition of searchService method.
2. Filter service name by given time which calculated by the minute metric TTL setting. ( CurrentTimeStamp - minuteMetricTTL )

* Fixed the auto test failure.

#1124
2018-06-09 16:33:05 +08:00
彭勇升 pengys faaf3e829b Separated TTL from minute to minute, hour, day, month. (#1268)
* #1263

Separated TTL from minute to minute, hour, day, month.

* 1. Minute metric data ttl change to 90, because of the 1 hour duration condition in UI means 60 minutes.
And i prefer to setting the value up to above 50%.
2. Some description and logging.

#1263

* Add a config time named traceDataTTL for trace data TTL.

#1263

* Fixed the logger english sentence mistake.
2018-05-28 17:09:04 +08:00
Ajanthan 58ede1d0b8 Fixing #1231. Adding order and status to trace query. (#1255)
* Fixing #1231. Adding order and status to trace query.

* Fixing 1231. Using enum for traceState and queryOrder

* Incorporating code review suggestions
2018-05-24 14:07:38 +08:00
吴晟 Wu Sheng a6e04c97ec
Update version to beta2 for next iteration. (#1233) 2018-05-16 21:21:30 +08:00
lican db8b931cbb Fix If traceId not exists result will return all traces (#1178) 2018-05-06 22:05:26 +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
彭勇升 pengys 5f3022889b
Rename thermodynamic attributes. (#1161)
* Rename thermodynamic attributes.

* A missing attribute name.
2018-05-04 13:09:23 +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 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 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
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
彭勇升 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 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
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
彭勇升 pengys 3caa08cc46 Provide dependencies management in collector root pom (#1012)
#1009
2018-04-02 15:09:45 +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
吴晟 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 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 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
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 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
peng-yongsheng 09f9c1200e Fixed the pagination bug. 2018-03-03 20:15:49 +08:00
peng-yongsheng bdc0601c6d Fixed the call type in calls of topology. 2018-03-03 20:03:45 +08:00
peng-yongsheng 41840ce851 Fixed the bug which the memory max non heap metric value is -1 when using JDK 1.8. 2018-03-03 16:05:21 +08:00
peng-yongsheng 58259141f9 Fixed the Dashboard and Topology bug. 2018-03-03 15:16:52 +08:00
peng-yongsheng 75a9283d24 1. Add application code into instance table.
2. Search server by application code by searchServer method.
2018-03-03 00:15:10 +08:00
peng-yongsheng fc5f67f084 Setting the alarm attributes in topology. 2018-03-02 22:55:02 +08:00