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/25 14:25:29 UTC

[skywalking-query-protocol] branch master updated: add profile analyze query time range (#35)

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 aee4357  add profile analyze query time range (#35)
aee4357 is described below

commit aee4357438abc09dbe7608d905f21074d8dc4058
Author: mrproliu <74...@qq.com>
AuthorDate: Tue Feb 25 22:25:23 2020 +0800

    add profile analyze query time range (#35)
---
 profile.graphqls | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/profile.graphqls b/profile.graphqls
index b3ca5fc..e238f28 100644
--- a/profile.graphqls
+++ b/profile.graphqls
@@ -136,6 +136,11 @@ type ProfiledSegment {
     spans: [ProfiledSpan!]!
 }
 
+type ProfileAnalyzeTimeRange {
+    start: Long!
+    end: Long!
+}
+
 extend type Mutation {
     # crate new profile task
     createProfileTask(creationRequest: ProfileTaskCreationRequest): ProfileTaskCreationResult!
@@ -149,5 +154,5 @@ extend type Query {
     # query profiled segemnt
     getProfiledSegment(segmentId: String): ProfiledSegment
     # analyze profiled segment, start and end time use timestamp(millisecond)
-    getProfileAnalyze(segmentId: String!, start: Long!, end: Long!): ProfileAnalyzation!
+    getProfileAnalyze(segmentId: String!, timeRanges: [ProfileAnalyzeTimeRange!]!): ProfileAnalyzation!
 }