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 2024/11/29 04:21:49 UTC

(skywalking-query-protocol) branch master updated: Replace timestamps with Duration in async profiler query (#142)

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 092856b  Replace timestamps with Duration in async profiler query (#142)
092856b is described below

commit 092856bdfefd2353d134efade62c6421b4ef4854
Author: zhengziyi0117 <91...@users.noreply.github.com>
AuthorDate: Fri Nov 29 12:21:44 2024 +0800

    Replace timestamps with Duration in async profiler query (#142)
---
 async-profiler.graphqls | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/async-profiler.graphqls b/async-profiler.graphqls
index ff14fff..2ae014e 100644
--- a/async-profiler.graphqls
+++ b/async-profiler.graphqls
@@ -52,10 +52,8 @@ enum AsyncProfilerTaskCreationType {
 input AsyncProfilerTaskListRequest {
     # ServiceId associated with the task
     serviceId: ID!
-    # Start time
-    startTime: Long
-    # End time
-    endTime: Long
+    # Time Range
+    queryDuration: Duration
     # Limit defines the number of the tasks to be returned.
     limit: Int
 }
@@ -164,8 +162,8 @@ enum AsyncProfilerEventType {
 # JFR event type
 enum JFREventType {
     EXECUTION_SAMPLE
-    JAVA_MONITOR_ENTER
-    THREAD_PARK
+    # The LOCK event is a combination of JAVA_MONITOR_ENTER and THREAD_PARK events.
+    LOCK
     OBJECT_ALLOCATION_IN_NEW_TLAB
     OBJECT_ALLOCATION_OUTSIDE_TLAB
     PROFILER_LIVE_OBJECT