[
https://issues.apache.org/jira/browse/HBASE-26731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17499752#comment-17499752
]
Bryan Beaudreault commented on HBASE-26731:
-------------------------------------------
Patch available. I decided to punt on scannerOldestLeastAge. We currently don't
track the age, just the expiration time. We could probably move things around
to support it, but it felt like the remaining 2 metrics were enough to give
visibility on this issue.
> Metrics for tracking of active scanners
> ---------------------------------------
>
> Key: HBASE-26731
> URL: https://issues.apache.org/jira/browse/HBASE-26731
> Project: HBase
> Issue Type: Improvement
> Reporter: Bryan Beaudreault
> Assignee: Bryan Beaudreault
> Priority: Minor
> Labels: patch-available
>
> Active scanners take up resources on the RegionServer. This can result in GC
> issues or even OOMs in cases of leaked scanners. It'd be helpful to have
> metrics for tracking scanners. I was thinking of:
> * activeScanners - a gauge, showing the number of active scanners at a point
> in time
> * scannerLeaseExpirations - a counter of lease expirations
--
This message was sent by Atlassian Jira
(v8.20.1#820001)