-
Notifications
You must be signed in to change notification settings - Fork 478
ScanServer follow-on: TabletServerMetricsUtil changes #2733
Copy link
Copy link
Closed
Labels
bugThis issue has been verified to be a bug.This issue has been verified to be a bug.
Milestone
Description
ScanServer can't use TabletServerMetricsUtil, so scanned count, query result count, and query byte count metrics are not being reported in the metrics. TabletServerMetricsUtil also uses TabletServer.getOnlineTablets to iterate over the Tablets and accumulate the metrics. ScanServer does not implement getOnlineTablets.
One approach to solving this would be to have a LongAdder (or similar) that could be used by each Tablet to increment. This avoids the iteration over the tablets to get the metrics as the LongAdder objects are updated by each Tablet in real-time.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugThis issue has been verified to be a bug.This issue has been verified to be a bug.