From aee4357438abc09dbe7608d905f21074d8dc4058 Mon Sep 17 00:00:00 2001 From: mrproliu <741550557@qq.com> Date: Tue, 25 Feb 2020 22:25:23 +0800 Subject: [PATCH] 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! } -- GitLab