Make the user node as an extend of Node, rather then an attribute of ApplicationNode.

This commit is contained in:
wusheng 2018-01-11 16:13:19 +08:00
parent e7a5fd6920
commit b2706cf24c
2 changed files with 9 additions and 4 deletions

View File

@ -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

View File

@ -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 {