saintstack commented on a change in pull request #1069: HBASE-23708 Support
metrics for region traffic
URL: https://github.com/apache/hbase/pull/1069#discussion_r368655764
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegion.java
##########
@@ -44,31 +44,48 @@ public void close() {
source.close();
}
- public void updatePut() {
+ public void updatePut(final long size) {
source.updatePut();
+ source.updatePutBytes(size);
+ source.updateReceivedBytes(size);
Review comment:
What is the difference between put and received? They are not the same?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services