You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2022/05/18 08:29:11 UTC

[skywalking-query-protocol] branch master updated: Remove total in query trace and log list. (#90)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-query-protocol.git


The following commit(s) were added to refs/heads/master by this push:
     new 6f9d172  Remove total in query trace and log list. (#90)
6f9d172 is described below

commit 6f9d1721048a2703b4a0f0a96bee70660b9ff628
Author: 吴晟 Wu Sheng <wu...@foxmail.com>
AuthorDate: Wed May 18 16:29:07 2022 +0800

    Remove total in query trace and log list. (#90)
---
 common.graphqls | 4 ++--
 log.graphqls    | 1 -
 trace.graphqls  | 1 -
 3 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/common.graphqls b/common.graphqls
index 0d7ae09..bb3e0a7 100644
--- a/common.graphqls
+++ b/common.graphqls
@@ -76,8 +76,8 @@ input Pagination {
     # pageNum starts in 1, the default is 1.
     pageNum: Int
     pageSize: Int!
-    # default false
-    needTotal: Boolean
+    # total is not provided since 9.1.0
+    # The client side determines the existing of the next page, which should be TRUE when `size of response list` == `pageSize'
 }
 
 enum Language {
diff --git a/log.graphqls b/log.graphqls
index 8497567..6781f9b 100644
--- a/log.graphqls
+++ b/log.graphqls
@@ -17,7 +17,6 @@
 # The list of logs
 type Logs {
     logs: [Log!]!
-    total: Int!
 }
 
 # Log info
diff --git a/trace.graphqls b/trace.graphqls
index 890f98f..5edee31 100644
--- a/trace.graphqls
+++ b/trace.graphqls
@@ -17,7 +17,6 @@
 # The list of traces
 type TraceBrief {
     traces: [BasicTrace!]!
-    total: Int!
 }
 
 # Trace basic info