hanahmily commented on a change in pull request #707: Init ui-protocol
URL: 
https://github.com/apache/incubator-skywalking/pull/707#discussion_r159121306
 
 

 ##########
 File path: 
apm-protocol/apm-ui-protocol/src/main/resources/ui-graphql/common.graphqls
 ##########
 @@ -0,0 +1,100 @@
+schema {
+    query: Query
+}
+
+#Root node
+type Query {
+    version: String
+}
+
+# The Duration defines the start and end time for each query operation.
+# Fields: `start` and `end`
+#   represents the time span. And each of them matches the step.
+#   ref https://www.ietf.org/rfc/rfc3339.txt
+#   The time formats are
+#       `SECOND` step: yyyy-MM-dd HHmmss
+#       `MINUTE` step: yyyy-MM-dd HHmm
+#       `HOUR` step: yyyy-MM-dd HH
+#       `DAY` step: yyyy-MM-dd
+#       `MONTH` step: yyyy-MM
+# Field: `step`
+#   represents the accurate time point.
+# e.g.
+#   if step==HOUR , start=2017-11-08 09, end=2017-11-08 19
 
 Review comment:
   I prefer to use "T" for separated character

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to