Todd Lipcon has submitted this change and it was merged.

Change subject: net_util: add a counter for time spent in DNS lookups
......................................................................


net_util: add a counter for time spent in DNS lookups

Recently I've seen some issues where DNS lookups were made in the
context of an RPC. This adds a trace counter to sum the latency spent
in DNS lookups.

Change-Id: I244c97509f4c77844441106afb58e146e907f3d9
Reviewed-on: http://gerrit.cloudera.org:8080/6906
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <[email protected]>
---
M src/kudu/util/net/net_util.cc
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Adar Dembo: Looks good to me, approved
  Kudu Jenkins: Verified



-- 
To view, visit http://gerrit.cloudera.org:8080/6906
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I244c97509f4c77844441106afb58e146e907f3d9
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to