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 2019/04/03 20:14:59 UTC

[incubator-skywalking-query-protocol] branch master updated: Update log.graphqls

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/incubator-skywalking-query-protocol.git


The following commit(s) were added to refs/heads/master by this push:
     new dc1c8e1  Update log.graphqls
dc1c8e1 is described below

commit dc1c8e128bd4060db879b73bae61434dea61aa2d
Author: 吴晟 Wu Sheng <wu...@foxmail.com>
AuthorDate: Wed Apr 3 13:14:55 2019 -0700

    Update log.graphqls
---
 log.graphqls | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/log.graphqls b/log.graphqls
index 789b071..005bc6c 100644
--- a/log.graphqls
+++ b/log.graphqls
@@ -31,6 +31,8 @@ type Log {
     timestamp: String!
     isError: Boolean
     statusCode: String
+    contentType: ContentType!
+    content: String
 }
 
 # Represent the conditions used for query logs
@@ -52,6 +54,12 @@ enum LogState {
     ERROR
 }
 
+enum ContentType {
+    TEXT
+    JSON
+    NONE
+}
+
 extend type Query {
     queryLogs(condition: LogQueryCondition): Logs
 }