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

Karan Mehta commented on PHOENIX-4853:
--------------------------------------

Committed this to 4.x-HBase-1.2 4.x-HBase-1.3 4.x-HBase-1.4 branches.

Will commit to master once PHOENIX-3655 gets in.

> Add sql statement to PhoenixMetricsLog interface for query level metrics 
> logging
> --------------------------------------------------------------------------------
>
>                 Key: PHOENIX-4853
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4853
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Karan Mehta
>            Assignee: Karan Mehta
>            Priority: Major
>
> We get query level metrics when we try to close the 
> {{LoggingPhoenixResultSet}} object. It is better to add the SQL statement to 
> the PhoenixMetricsLog interface so that we can attach the metrics to the 
> exact SQL statement. This helps in debugging whenever we determine that 
> particular query is taking a long time to run.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to