support log query trace (#137)
diff --git a/log.graphqls b/log.graphqls
index 855f6db..b16474a 100644
--- a/log.graphqls
+++ b/log.graphqls
@@ -18,8 +18,9 @@
type Logs {
# When this field is not empty, frontend should display it in UI
errorReason: String
-
logs: [Log!]!
+ #For OAP internal query debugging
+ debuggingTrace: DebuggingTrace
}
# Log info
@@ -102,7 +103,7 @@
extend type Query {
# Return true if the current storage implementation supports fuzzy query for logs.
supportQueryLogsByKeywords: Boolean!
- queryLogs(condition: LogQueryCondition): Logs
+ queryLogs(condition: LogQueryCondition, debug: Boolean): Logs
# Test the logs and get the results of the LAL output.
test(requests: LogTestRequest!): LogTestResponse!