[ 
https://issues.apache.org/jira/browse/DRILL-5195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15883471#comment-15883471
 ] 

ASF GitHub Bot commented on DRILL-5195:
---------------------------------------

Github user kkhatua commented on a diff in the pull request:

    https://github.com/apache/drill/pull/756#discussion_r103028294
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/profile/FragmentWrapper.java
 ---
    @@ -35,6 +38,10 @@
     public class FragmentWrapper {
       private final MajorFragmentProfile major;
       private final long start;
    +  private final Locale currentLocale = Locale.getDefault();
    +  private final String pattern = "dd-MMM-yyyy HH:mm:ss";
    +  private final SimpleDateFormat simpleDateFormat = new SimpleDateFormat(
    --- End diff --
    
    Oh. I thought the locale did that. But, as long as these timestamps are 
aligned with the timestamps on the server (where the logs reside), this should 
be fine, right? Otherwise, this is useful for only _running_ queries and we can 
skip it altogether. What do you suggest, @paul-rogers ?


> Publish Operator and MajorFragment Stats in Profile page
> --------------------------------------------------------
>
>                 Key: DRILL-5195
>                 URL: https://issues.apache.org/jira/browse/DRILL-5195
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Web Server
>    Affects Versions: 1.9.0
>            Reporter: Kunal Khatua
>            Assignee: Kunal Khatua
>         Attachments: dbit_complete.png, dbit_inflight.png, dbit_opOverview.png
>
>
> Currently, we show runtimes for major fragments, and min,max,avg times for 
> setup, processing and waiting for various operators.
> It would be worthwhile to have additional stats for the following:
> MajorFragment
>   %Busy - % of the active time for all the minor fragments within each major 
> fragment that they were busy. 
> Operator Profile
>   %Busy - % of the active time for all the fragments within each operator 
> that they were busy. 
>   Records - Total number of records propagated out by that operator.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to