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

Add application layer protocol and some common types.

上级 e7713508
#
# Copyright 2017, OpenSkywalking Organization All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Project repository: https://github.com/OpenSkywalking/skywalking-ui
#
server:
port: 8080
type AppServerList {
servers: [AppServerInfo!]
}
extend type Query {
getApplicationTopology(appId: ID!, duration: Duration!): ApplicationTopology
getServers(appId: ID!, duration: Duration!): AppServerList
}
\ No newline at end of file
......@@ -38,3 +38,18 @@ enum Step{
MINUTE
SECOND
}
######################################
# Common Metrics and Trends
######################################
type ResponseTimeTrend {
trendList: [Int!]
}
type TPSTrend {
trendList: [Int!]
}
type ThroughputTrend {
trendList: [Int!]
}
\ No newline at end of file
......@@ -96,12 +96,13 @@ type ApplicationBrief {
}
type ApplicationInfo {
id: ID!
name: String!
tps: Int!
}
extend type Query {
getApplicationTopology(duration: Duration!): ApplicationTopology
getClusterTopology(duration: Duration!): ApplicationTopology
getClusterBrief(duration: Duration!): ClusterBrief
getAlarmTrend(duration: Duration!): AlarmTrend
getConjecturalApps(duration: Duration!): ConjecturalAppBrief
......
# The server info.
# At here, `Server` represents a process in OS,
# e.g.
# 1. Spring boot application
# 2. A Tomcat server instance
type AppServerInfo {
id: ID!
name: String!
tps: Int!
os: String
host: String
pid: Int
IPv4: String
IPv6: String
}
extend type Query {
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册