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

Jimmy Xiang updated HIVE-12987:
-------------------------------
    Attachment: HIVE-12987.3.patch

Attached patch v3. Since the existing metrics is already in 2.0, to be backward 
compatible, I changed the implementation so that the old metrics is not 
changed, just added some new metrics.

As to use CodahaleMetrics for the user counting, it's better not to do so. 
Otherwise, it will emit user specific metrics which is too many, since we care 
about distinct active user counter only.

Since Szehon is not around, [~aihuaxu], [~ctang.ma], could you take a look?

> Add metrics for HS2 active users and SQL operations
> ---------------------------------------------------
>
>                 Key: HIVE-12987
>                 URL: https://issues.apache.org/jira/browse/HIVE-12987
>             Project: Hive
>          Issue Type: Task
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>         Attachments: HIVE-12987.1.patch, HIVE-12987.2.patch, 
> HIVE-12987.2.patch, HIVE-12987.3.patch
>
>
> HIVE-12271 added metrics for all HS2 operations. Sometimes, users are also 
> interested in metrics just for SQL operations.
> It is useful to track active user count as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to