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:28:20 UTC
[skywalking-query-protocol] branch log-query-polish updated: Add
tags.
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
The following commit(s) were added to refs/heads/log-query-polish by this push:
new 608a098 Add tags.
608a098 is described below
commit 608a098c1448a93ab7c50564a1e08e2c2c5a0ed6
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Thu Dec 3 08:28:09 2020 +0800
Add tags.
---
log.graphqls | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/log.graphqls b/log.graphqls
index 7d54bab..420d12c 100644
--- a/log.graphqls
+++ b/log.graphqls
@@ -44,21 +44,29 @@ input LogQueryCondition {
serviceId: ID
serviceInstanceId: ID
endpointId: ID
+ # Related trace condition.
+ # When use related trace condition, duration is not required.
relatedTrace: TraceScopeCondition
# The time range of log happened
+ # [Required] duration is required in most query, only exception is when use relatedTrace.
queryDuration: Duration
state: LogState!
- stateCode: String
paging: Pagination!
+ tags: [LogTag!]
}
# Trace related condition
input TraceScopeCondition {
- traceId: String
+ traceId: String!
segmentId: String
spanId: Int
}
+input LogTag {
+ key: String!
+ value: String
+}
+
enum LogState {
ALL
SUCCESS