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 ee577ac Support tracing trace query (#135) ee577ac is described below commit ee577ac283c1e0b418d9da502deba41dfbcb28c3 Author: Wan Kai <wankai...@foxmail.com> AuthorDate: Thu Jun 27 08:38:29 2024 +0800 Support tracing trace query (#135) --- trace.graphqls | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/trace.graphqls b/trace.graphqls index eac965a..314f266 100644 --- a/trace.graphqls +++ b/trace.graphqls @@ -17,6 +17,8 @@ # The list of traces type TraceBrief { traces: [BasicTrace!]! + #For OAP internal query debugging + debuggingTrace: DebuggingTrace } # Trace basic info @@ -68,6 +70,8 @@ enum QueryOrder { # The trace represents a distributed trace, includes all segments and spans. type Trace { spans: [Span!]! + #For OAP internal query debugging + debuggingTrace: DebuggingTrace } type Span { @@ -167,11 +171,12 @@ type SpanAttachedEvent { summary: [KeyNumericValue!]! } +# Param, if debug is true will enable the query tracing and return DebuggingTrace in the result. extend type Query { # Search segment list with given conditions - queryBasicTraces(condition: TraceQueryCondition): TraceBrief + queryBasicTraces(condition: TraceQueryCondition, debug: Boolean): TraceBrief # Read the specific trace ID with given trace ID - queryTrace(traceId: ID!): Trace + queryTrace(traceId: ID!, debug: Boolean): Trace # Read the list of searchable keys queryTraceTagAutocompleteKeys(duration: Duration!):[String!] # Search the available value options of the given key.