This is an automated email from the ASF dual-hosted git repository.
liuhan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-cli.git
The following commit(s) were added to refs/heads/master by this push:
new 651d196 Add the attached events fields into the `trace` sub-command
(#169)
651d196 is described below
commit 651d196ee9345b164cc35fc1dbdcaf058920226a
Author: mrproliu <[email protected]>
AuthorDate: Mon Nov 7 21:00:34 2022 +0800
Add the attached events fields into the `trace` sub-command (#169)
---
CHANGES.md | 1 +
assets/graphqls/trace/Trace.graphql | 15 +++++++++++++++
2 files changed, 16 insertions(+)
diff --git a/CHANGES.md b/CHANGES.md
index f3271ea..76d865b 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -32,6 +32,7 @@ Release Notes.
* Add the sub-commands for query sorted metrics/records by @mrproliu in
https://github.com/apache/skywalking-cli/pull/163
* Add compatibility documentation by @mrproliu in
https://github.com/apache/skywalking-cli/pull/164
* Add the sub-command `records list` for adapt the new record query API by
@mrproliu in https://github.com/apache/skywalking-cli/pull/167
+* Add the attached events fields into the `trace` sub-command by @mrproliu in
https://github.com/apache/skywalking-cli/pull/169
0.10.0
------------------
diff --git a/assets/graphqls/trace/Trace.graphql
b/assets/graphqls/trace/Trace.graphql
index 157c76b..8f52c01 100644
--- a/assets/graphqls/trace/Trace.graphql
+++ b/assets/graphqls/trace/Trace.graphql
@@ -46,6 +46,21 @@ query ($traceId: ID!) {
key value
}
}
+ attachedEvents {
+ startTime {
+ seconds nanos
+ }
+ event
+ endTime {
+ seconds nanos
+ }
+ tags {
+ key value
+ }
+ summary {
+ key value
+ }
+ }
}
}
}