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

Fix protocol mistakes.

上级 1afe6c79
......@@ -27,11 +27,17 @@ type ConjecturalApp {
num: Int!
}
type ApplicationTPS {
applicationId: Int!
applicationCode: String
tps: Int!
}
extend type Query {
getClusterTopology(duration: Duration!): Topology
getClusterBrief(duration: Duration!): ClusterBrief
getAlarmTrend(duration: Duration!): AlarmTrend
getConjecturalApps(duration: Duration!): ConjecturalAppBrief
getTopNSlowService(duration: Duration!, topN: Int!): [ServiceMetric!]!
getTopNServerThroughput(applicationId: Int, duration: Duration!, topN: Int!): [AppServerInfo!]!
getTopNApplicationThroughput(duration: Duration!, topN: Int!): [ApplicationTPS!]!
}
......@@ -7,7 +7,7 @@ type AppServerInfo {
id: ID!
name: String!
applicationId: Int!
applicationName: String
applicationCode: String
tps: Int!
host: String
pid: Int
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册