提交 131bbb96 编写于 作者: wu-sheng's avatar wu-sheng

Add two services.

上级 d07a9135
......@@ -63,6 +63,40 @@ type Call {
responseTimePerSec: Int!
}
# Query the cluster brief based on the given duration
type ClusterBrief {
numOfApplication: Int
numOfService: Int
numOfDatabase: Int
numOfCache: Int
numOfMQ: Int
duration: Duration!
}
# Query the trend of alarm rate based on the given duration
type AlarmTrend {
numOfAlarmRate: [Int]!
duration: Duration!
}
# Query all conjectural applications based on the given duration
# All applications here are not installed agent.
type ConjecturalAppBrief {
apps: [ConjecturalApp!]
duration: Duration!
}
# The basic info of the conjectural application,
# includes the type and num of same type application
type ConjecturalApp {
# The display name of the application
# e.g. MySQL, RocketMQ, Kafka, Nginx
name: String!
num: int!
}
extend type Query {
getApplicationTopology: ApplicationTopology
getClusterBrief: ClusterBrief
getAlarmTrend: AlarmTrend
}
type TraceBrief {
traces: [BasicTrace!]
duration: Duration!
}
type BasicTrace {
operationName: String!
duration: Int!
start: String!
}
extend type Query {
queryBasicTraces: TraceBrief
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册