Fix protocol mistakes.
This commit is contained in:
parent
1afe6c7977
commit
a736c01a81
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue