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

Hudson commented on PHOENIX-4853:
---------------------------------

FAILURE: Integrated in Jenkins build PreCommit-PHOENIX-Build #1995 (See 
[https://builds.apache.org/job/PreCommit-PHOENIX-Build/1995/])
PHOENIX-4853 Add sql statement to PhoenixMetricsLog interface for query 
(karanmehta93: rev f0b861bd28fa75fd003b5ef9d505a580e2db6bee)
* (edit) 
phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixMetricsLog.java
* (edit) 
phoenix-core/src/main/java/org/apache/phoenix/jdbc/LoggingPhoenixPreparedStatement.java
* (edit) 
phoenix-core/src/main/java/org/apache/phoenix/jdbc/LoggingPhoenixResultSet.java
* (edit) 
phoenix-core/src/it/java/org/apache/phoenix/monitoring/PhoenixLoggingMetricsIT.java
* (edit) 
phoenix-core/src/main/java/org/apache/phoenix/jdbc/LoggingPhoenixStatement.java
* (edit) 
phoenix-core/src/main/java/org/apache/phoenix/jdbc/LoggingPhoenixConnection.java


> 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
>             Fix For: 4.15.0, 5.1.0
>
>
> 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