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 2022/06/01 07:28:29 UTC
[skywalking-query-protocol] branch master updated: Allow querying logs only by instance to simplify frontend query (#95)
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 86a6863 Allow querying logs only by instance to simplify frontend query (#95)
86a6863 is described below
commit 86a6863addd72e46d8de3c4dd91eaea3c8fcbcc4
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Wed Jun 1 15:28:24 2022 +0800
Allow querying logs only by instance to simplify frontend query (#95)
---
ondemand-pod-log.graphqls | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/ondemand-pod-log.graphqls b/ondemand-pod-log.graphqls
index 34e2183..a98baf9 100644
--- a/ondemand-pod-log.graphqls
+++ b/ondemand-pod-log.graphqls
@@ -23,8 +23,6 @@
# configuration documentation to enable this manually.
input OndemandLogQueryCondition {
- namespace: String!
- serviceId: ID
serviceInstanceId: ID
container: String!
duration: Duration
@@ -32,14 +30,11 @@ input OndemandLogQueryCondition {
excludingKeywordsOfContent: [String!]
}
-input ContainerQueryCondition {
- namespace: String!
- serviceId: ID
+input OndemandContainergQueryCondition {
serviceInstanceId: ID
}
extend type Query {
- listNamespaces: [String!]!
- listContainers(condition: ContainerQueryCondition): [String!]!
+ listContainers(condition: OndemandContainergQueryCondition): [String!]!
ondemandPodLogs(condition: OndemandLogQueryCondition): Logs
}