You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/03/20 13:28:30 UTC

[GitHub] [skywalking] wu-sheng commented on a change in pull request #4546: Provide HTTP parameter in the profiling contet

wu-sheng commented on a change in pull request #4546: Provide HTTP parameter in the profiling contet
URL: https://github.com/apache/skywalking/pull/4546#discussion_r395635058
 
 

 ##########
 File path: apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/context/AbstractTracerContext.java
 ##########
 @@ -115,4 +116,10 @@
      */
     void asyncStop(AsyncSpan span);
 
+    /**
+     * Get current context profiler
+     * @return null if not profiling
+     */
+    ThreadProfiler profiler();
 
 Review comment:
   We should not open this heavy object for this. Right now, only true/false should be opened. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services