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

wankai 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 97f9bfc  Add `duration` for queryTrace (#151)
97f9bfc is described below

commit 97f9bfc9dbf9313a951a5fa3791e92186cfede05
Author: Wan Kai <[email protected]>
AuthorDate: Wed Sep 17 09:46:11 2025 +0800

    Add `duration` for queryTrace (#151)
---
 trace.graphqls | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/trace.graphqls b/trace.graphqls
index b3d6d6b..162c601 100644
--- a/trace.graphqls
+++ b/trace.graphqls
@@ -197,7 +197,8 @@ extend type Query {
     queryBasicTraces(condition: TraceQueryCondition, debug: Boolean): 
TraceBrief
     queryBasicTracesByName(condition: TraceQueryConditionByName, debug: 
Boolean): TraceBrief
     # Read the specific trace ID with given trace ID
-    queryTrace(traceId: ID!, debug: Boolean): Trace
+    # duration is optional, and only for BanyanDB. If not provided, means 
search in the last 1 day.
+    queryTrace(traceId: ID!, duration: Duration, debug: Boolean): Trace
     # Read the list of searchable keys
     queryTraceTagAutocompleteKeys(duration: Duration!):[String!]
     # Search the available value options of the given key.

Reply via email to