[ 
https://issues.apache.org/jira/browse/PHOENIX-4022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas D'Silva updated PHOENIX-4022:
------------------------------------
    Attachment: PHOENIX-4022-v3.patch

[~jamestaylor]

We were thinking of having a factory that creates connections for different use 
cases with specific properties set and didn't want users to override the value 
of "phoenix.query.timeoutMs" that was set on the connection. We can have a 
wrapper for this in our distribution. 
I renamed the statment classes to use the Logging prefix and removed the 
setQueryTimeout changes I made. I have attached a v3 patch. 


> Add PhoenixMetricsLog interface that can be used to log metrics for queries 
> and mutations. 
> -------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-4022
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4022
>             Project: Phoenix
>          Issue Type: New Feature
>            Reporter: Thomas D'Silva
>            Assignee: Thomas D'Silva
>             Fix For: 4.12.0
>
>         Attachments: PHOENIX-4022.patch, PHOENIX-4022-v2.patch, 
> PHOENIX-4022-v3.patch
>
>
> Create a wrapper for PhoenixConnection, PhoenixStatement, 
> PhoenixPreparedStatement and PhoenixResultSet that automatically calls the 
> PhoenixMetricsLog logging methods so users don't have to instrument this 
> themselves.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to