[
https://issues.apache.org/jira/browse/HBASE-27885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17726198#comment-17726198
]
Bryan Beaudreault commented on HBASE-27885:
-------------------------------------------
That makes sense.
I was more curious how you'd actually get access to MetricsConnection at the
client level? The class is InterfaceAudience.Private and I don't see any public
getter to get the metrics for a connection.
We have a similar desire where we've wanted to extract metrics for our own
monitoring system. We've done this by scraping JMX, but it's pretty awkward. It
would be nice to expose a Connection.getMetrics() method, and then one could
use your new getMetaCacheHits(), etc.
> expose metaCacheHits in MetricsConnection
> -----------------------------------------
>
> Key: HBASE-27885
> URL: https://issues.apache.org/jira/browse/HBASE-27885
> Project: HBase
> Issue Type: New Feature
> Components: Client
> Affects Versions: 3.0.0-alpha-3
> Reporter: ruanhui
> Assignee: ruanhui
> Priority: Minor
> Fix For: 3.0.0-alpha-4
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)