HBASE-20626 Change the value of "Requests Per Second" on WEBUI
This commit is contained in:
parent
7924ba39e7
commit
17495d812d
|
@ -797,7 +797,7 @@ class MetricsRegionServerWrapperImpl
|
|||
}
|
||||
// If we've time traveled keep the last requests per second.
|
||||
if ((currentTime - lastRan) > 0) {
|
||||
long currentRequestCount = getTotalRequestCount();
|
||||
long currentRequestCount = getTotalRowActionRequestCount();
|
||||
requestsPerSecond = (currentRequestCount - lastRequestCount) /
|
||||
((currentTime - lastRan) / 1000.0);
|
||||
lastRequestCount = currentRequestCount;
|
||||
|
|
Loading…
Reference in New Issue