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

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_r103032276
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/profile/OperatorWrapper.java
 ---
    @@ -179,12 +207,47 @@ public String getMetricsTable() {
           }
           for (final Number value : values) {
             if (value != null) {
    -          builder.appendFormattedNumber(value, null);
    +          builder.appendFormattedNumber(value);
             } else {
    -          builder.appendCell("", null);
    +          builder.appendCell("");
             }
           }
         }
         return builder.build();
       }
    +
    +  private class OverviewTblTxt {
    +    static final String OperatorID = "Operator ID";
    +    static final String Type = "Type";
    +    static final String AvgSetupTime = "Avg Setup Time";
    +    static final String MaxSetupTime = "Max Setup Time";
    +    static final String AvgProcessTime = "Avg Process Time";
    +    static final String MaxProcessTime = "Max Process Time";
    +    static final String MinWaitTime = "Min Wait Time";
    +    static final String AvgWaitTime = "Avg Wait Time";
    +    static final String MaxWaitTime = "Max Wait Time";
    +    static final String PercentFragmentTime = "% Fragment Time";
    +    static final String PercentQueryTime = "% Query Time";
    +    static final String Rows = "Rows";
    +    static final String AvgPeakMemory = "Avg Peak Memory";
    +    static final String MaxPeakMemory = "Max Peak Memory";
    +  }
    +
    +  private class OverviewTblTooltip {
    +    static final String OperatorID = "Operator ID";
    +    static final String Type = "Operator Type";
    +    static final String AvgSetupTime = "Average Time in setting up 
fragments";
    --- End diff --
    
    +1


> 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