HBASE-20626 Change the value of "Requests Per Second" on WEBUI
This commit is contained in:
parent
18ff188d9d
commit
f620e1dae4
|
@ -783,7 +783,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