You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Karan Mehta (JIRA)" <ji...@apache.org> on 2018/08/20 22:17:00 UTC

[jira] [Resolved] (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:all-tabpanel ]

Karan Mehta resolved PHOENIX-4853.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 5.1.0
                   4.15.0

Committed to master branch as well (All unit tests and metrics IT pass)

> 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)