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/01/03 03:53:48 UTC
[skywalking-query-protocol] branch master updated: add profile task
execute log (#26)
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 ef1f965 add profile task execute log (#26)
ef1f965 is described below
commit ef1f9658083d7e421c1fa4a8656cfc8cdf34f968
Author: mrproliu <74...@qq.com>
AuthorDate: Fri Jan 3 11:53:40 2020 +0800
add profile task execute log (#26)
* add profile task execute log
* fix issues
* change `ProfileTaskLog#operationType` to enum
* change `EXECUTE_FINISH` to `EXECUTION_FINISHED`
---
profile.graphqls | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/profile.graphqls b/profile.graphqls
index 9823fed..94c4167 100644
--- a/profile.graphqls
+++ b/profile.graphqls
@@ -39,6 +39,27 @@ type ProfileTaskCreationResult {
id: String
}
+# Profile task log operation type
+enum ProfileTaskLogOperationType {
+ # when sniffer has notified
+ NOTIFIED,
+ # when sniffer has execution finished to report
+ EXECUTION_FINISHED
+}
+
+# Profile task execute log
+type ProfileTaskLog {
+ id: String!
+ # execute instance
+ instanceId: ID!
+ instanceName: String!
+ # operation type
+ operationType: ProfileTaskLogOperationType!
+ # operation time
+ operationTime: Long!
+}
+
+# Profile
type ProfileTask {
id: String!
# monitor service
@@ -54,6 +75,9 @@ type ProfileTask {
minDurationThreshold: Int!
# when start monitor, time interval for each dumping the stack
dumpPeriod: Int!
+
+ # instance operation logs
+ logs: [ProfileTaskLog!]!
}
extend type Mutation {