You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@skywalking.apache.org by wu...@apache.org on 2018/01/11 08:13:31 UTC

[incubator-skywalking] branch fix/graphql/node-nullable updated: Make the user node as an extend of Node, rather then an attribute of ApplicationNode.

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch fix/graphql/node-nullable
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git


The following commit(s) were added to refs/heads/fix/graphql/node-nullable by this push:
     new b2706cf  Make the user node as an extend of Node, rather then an attribute of ApplicationNode.
b2706cf is described below

commit b2706cf24cf770564e93d00603c850ef277f3e1a
Author: wusheng <wu...@foxmail.com>
AuthorDate: Thu Jan 11 16:13:19 2018 +0800

    Make the user node as an extend of Node, rather then an attribute of ApplicationNode.
---
 .../src/main/resources/ui-graphql/application-layer.graphqls       | 7 +++----
 .../apm-ui-protocol/src/main/resources/ui-graphql/common.graphqls  | 6 ++++++
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/apm-protocol/apm-ui-protocol/src/main/resources/ui-graphql/application-layer.graphqls b/apm-protocol/apm-ui-protocol/src/main/resources/ui-graphql/application-layer.graphqls
index d05aeee..e7f72bf 100644
--- a/apm-protocol/apm-ui-protocol/src/main/resources/ui-graphql/application-layer.graphqls
+++ b/apm-protocol/apm-ui-protocol/src/main/resources/ui-graphql/application-layer.graphqls
@@ -8,7 +8,9 @@ type ApplicationNode implements Node {
     # 2 Digits after floating point.
     sla: Float!
     # The number of incoming calls
-    calls: Long!
+    callsPerSec: Long!
+    # Unit: millisecond
+    responseTimePerSec: Int!
     # ref: http://www.apdex.org/
     # Max value is 1
     # 2 Digits after floating point.
@@ -19,9 +21,6 @@ type ApplicationNode implements Node {
     numOfServerAlarm: Int!
     # The number of services alerting
     numOfServiceAlarm: Int!
-    # Incoming request node, means User or outside system access the cluster from this.
-    # Recommend the UI generate a User node for each incoming node
-    isIncomingNode: Boolean
 }
 
 # The conjectural node generated by exit span
diff --git a/apm-protocol/apm-ui-protocol/src/main/resources/ui-graphql/common.graphqls b/apm-protocol/apm-ui-protocol/src/main/resources/ui-graphql/common.graphqls
index e4d7e10..b8bff31 100644
--- a/apm-protocol/apm-ui-protocol/src/main/resources/ui-graphql/common.graphqls
+++ b/apm-protocol/apm-ui-protocol/src/main/resources/ui-graphql/common.graphqls
@@ -87,6 +87,12 @@ interface Node {
     type: String
 }
 
+# Incoming request node, means User or outside system access the cluster from this.
+type VisualUserNode implements Node {
+    id: ID!
+    name: String
+}
+
 # The Call represents a directed distributed call,
 # from the `source` to the `target`.
 type Call {

-- 
To stop receiving notification emails like this one, please contact
['"commits@skywalking.apache.org" <co...@skywalking.apache.org>'].