You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by li...@apache.org on 2021/10/21 02:02:44 UTC
[skywalking-query-protocol] branch master updated: Add profile
`getProfileTaskLogs` query
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-query-protocol.git
The following commit(s) were added to refs/heads/master by this push:
new beea83d Add profile `getProfileTaskLogs` query
new 38232af Merge pull request #62 from mrproliu/add-profile-log-query
beea83d is described below
commit beea83d7280b13989fa4fffe0bf9fe29d1f39a83
Author: Mrproliu <74...@qq.com>
AuthorDate: Thu Oct 21 09:47:08 2021 +0800
Add profile `getProfileTaskLogs` query
---
profile.graphqls | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/profile.graphqls b/profile.graphqls
index 19d4054..0744d27 100644
--- a/profile.graphqls
+++ b/profile.graphqls
@@ -150,9 +150,11 @@ extend type Mutation {
extend type Query {
# query all task list, order by ProfileTask#startTime descending
getProfileTaskList(serviceId: ID, endpointName: String): [ProfileTask!]!
+ # query all task logs
+ getProfileTaskLogs(taskID: String): [ProfileTaskLog!]!
# query all task profiled segment list
getProfileTaskSegmentList(taskID: String): [BasicTrace!]!
- # query profiled segemnt
+ # query profiled segment
getProfiledSegment(segmentId: String): ProfiledSegment
# analyze profiled segment, start and end time use timestamp(millisecond)
getProfileAnalyze(segmentId: String!, timeRanges: [ProfileAnalyzeTimeRange!]!): ProfileAnalyzation!