You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/09/24 15:30:04 UTC

[jira] [Commented] (PHOENIX-4853) Add sql statement to PhoenixMetricsLog interface for query level metrics logging

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

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

FAILURE: Integrated in Jenkins build Phoenix-omid2 #89 (See [https://builds.apache.org/job/Phoenix-omid2/89/])
PHOENIX-4853 Add sql statement to PhoenixMetricsLog interface for query (karanmehta93: rev e979241ac9e7fb938c56a9e41b38f7d5aa3a56cd)
* (edit) phoenix-core/src/it/java/org/apache/phoenix/monitoring/PhoenixLoggingMetricsIT.java
* (edit) phoenix-core/src/main/java/org/apache/phoenix/jdbc/LoggingPhoenixResultSet.java
* (edit) phoenix-core/src/main/java/org/apache/phoenix/jdbc/LoggingPhoenixConnection.java
* (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/LoggingPhoenixStatement.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)