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/02/09 02:16:35 UTC
[skywalking-query-protocol] branch master updated: change
ProfileStackElement to single level (#32)
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 6104df8 change ProfileStackElement to single level (#32)
6104df8 is described below
commit 6104df8f0debce4c81142e5b1fc696d61bb673c5
Author: mrproliu <74...@qq.com>
AuthorDate: Sun Feb 9 10:16:21 2020 +0800
change ProfileStackElement to single level (#32)
---
profile.graphqls | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/profile.graphqls b/profile.graphqls
index 3b65da1..3252ccd 100644
--- a/profile.graphqls
+++ b/profile.graphqls
@@ -84,8 +84,11 @@ type ProfileTask {
logs: [ProfileTaskLog!]!
}
-# Profile thread stack anayze tree
+# Profile thread stack anayze tree element
type ProfileStackElement {
+ # work for tree building, id matches multiple parentId
+ id: ID!
+ parentId: ID!
# stack code signature
codeSignature: String!
# Include the execution time of children(millisecond)
@@ -94,14 +97,20 @@ type ProfileStackElement {
durationChildExcluded: Int!
# continuous dump count
count: Int!
- # children of this stack code sign
- children: [ProfileStackElement!]
+}
+
+# Profile thread stack anayze tree
+type ProfileStackTree {
+ elements: [ProfileStackElement!]!
}
# Profile analyze result
type ProfileAnalyzation {
- # thread stack dump analyze tree
- stack: [ProfileStackElement!]!
+ # if not empty means backend has information gave to the user
+ # such as: a large number of snapshots, only analyze part of the data
+ tip: String
+ # thread stack dump analyze trees
+ trees: [ProfileStackTree!]!
}
extend type Mutation {