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 2020/12/03 00:19:12 UTC

[skywalking-query-protocol] branch log-query-polish created (now 5f77603)

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

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


      at 5f77603  I polished a little about the log query.

This branch includes the following new commits:

     new 5f77603  I polished a little about the log query.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[skywalking-query-protocol] 01/01: I polished a little about the log query.

Posted by wu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 5f776039a02386ecd7966758c9b5cfaa718ec02e
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Thu Dec 3 08:19:00 2020 +0800

    I polished a little about the log query.
---
 log.graphqls | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/log.graphqls b/log.graphqls
index 31836fc..7d54bab 100644
--- a/log.graphqls
+++ b/log.graphqls
@@ -44,7 +44,7 @@ input LogQueryCondition {
     serviceId: ID
     serviceInstanceId: ID
     endpointId: ID
-    traceId: String
+    relatedTrace: TraceScopeCondition
     # The time range of log happened
     queryDuration: Duration
     state: LogState!
@@ -52,6 +52,13 @@ input LogQueryCondition {
     paging: Pagination!
 }
 
+# Trace related condition
+input TraceScopeCondition {
+    traceId: String
+    segmentId: String
+    spanId: Int
+}
+
 enum LogState {
     ALL
     SUCCESS
@@ -61,7 +68,7 @@ enum LogState {
 enum ContentType {
     TEXT
     JSON
-    NONE
+    YAML
 }
 
 extend type Query {