Github user ivakegg commented on a diff in the pull request:
https://github.com/apache/accumulo/pull/271#discussion_r123054651
--- Diff:
server/monitor/src/main/java/org/apache/accumulo/monitor/servlets/TServersServlet.java
---
@@ -314,13 +314,22 @@ static void doTserverList(HttpServletRequest req,
StringBuilder sb, List<TabletS
long now = System.currentTimeMillis();
double avgLastContact = 0.;
+ double avgResponseTime = 0.;
+ int count = 0;
for (TabletServerStatus status : tservers) {
+ count++;
avgLastContact += (now - status.lastContact);
+ avgResponseTime += status.responseTime;
--- End diff --
I was going with the mechanism already used for the lastContact time. I
will think on this.....
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---