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

James Taylor commented on PHOENIX-4022:
---------------------------------------

Or another alternative is to got back to your v3 patch without 
PhoenixConnectionFactory as it's easy enough for users to do something similar. 
+1 for that.

> 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, PHOENIX-4022-v4.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