This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch feature/ui-protocol
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git
The following commit(s) were added to refs/heads/feature/ui-protocol by this
push:
new 131bbb9 Add two services.
131bbb9 is described below
commit 131bbb965f269f90a012ac823d24924f7b4ac9d6
Author: wu-sheng <[email protected]>
AuthorDate: Tue Dec 26 11:47:55 2017 +0800
Add two services.
---
.../resources/ui-graphql/overview-layer.graphqls | 34 ++++++++++++++++++++++
.../src/main/resources/ui-graphql/trace.graphqls | 16 ++++++++++
2 files changed, 50 insertions(+)
diff --git
a/apm-protocol/apm-ui-protocol/src/main/resources/ui-graphql/overview-layer.graphqls
b/apm-protocol/apm-ui-protocol/src/main/resources/ui-graphql/overview-layer.graphqls
index 437e104..6b55b32 100644
---
a/apm-protocol/apm-ui-protocol/src/main/resources/ui-graphql/overview-layer.graphqls
+++
b/apm-protocol/apm-ui-protocol/src/main/resources/ui-graphql/overview-layer.graphqls
@@ -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
}
diff --git
a/apm-protocol/apm-ui-protocol/src/main/resources/ui-graphql/trace.graphqls
b/apm-protocol/apm-ui-protocol/src/main/resources/ui-graphql/trace.graphqls
index e69de29..9505606 100644
--- a/apm-protocol/apm-ui-protocol/src/main/resources/ui-graphql/trace.graphqls
+++ b/apm-protocol/apm-ui-protocol/src/main/resources/ui-graphql/trace.graphqls
@@ -0,0 +1,16 @@
+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
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].