Hi all, I would like to discuss capturing Scan Metrics at region level granularity. In my company, we have a requirement that we would like to track scan metrics for requests belonging to certain use cases at region level along with getting info about where that region was hosted (RS) at the time of scan. I plan to make use of this to identify the region on which the scan took maximum amount of time to load the rows in the scanner cache. Thus, my PR improves to store region name and RS server name in scan metrics object only and capture a list of Scan metrics (one per region scanned). The capturing of scan metrics at this finer granularity is "opt-in" per Scan request and will be enabled via Scan attribute similar to how Scan Metrics are enabled.
I would like to backport this change to HBase 3 and HBase 2.6 and 2.5. PR: https://github.com/apache/hbase/pull/6868 JIRA: https://issues.apache.org/jira/browse/HBASE-29233 Thanks, Sanjeet