Todd Lipcon has submitted this change and it was merged. Change subject: Add CPU usage and context switch metrics ......................................................................
Add CPU usage and context switch metrics CPU usage and context switch are important metrics for a backend service. The commit collect those metrics using getrusage. Change-Id: Ic28f4813999c6cf9af6781cdfba9097bc05727e0 Reviewed-on: http://gerrit.cloudera.org:8080/1751 Reviewed-by: Todd Lipcon <[email protected]> Tested-by: Internal Jenkins --- M src/kudu/util/metrics.cc M src/kudu/util/metrics.h M src/kudu/util/thread.cc 3 files changed, 65 insertions(+), 0 deletions(-) Approvals: Internal Jenkins: Verified Todd Lipcon: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/1751 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ic28f4813999c6cf9af6781cdfba9097bc05727e0 Gerrit-PatchSet: 4 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Binglin Chang <[email protected]> Gerrit-Reviewer: Dan Burkert <[email protected]> Gerrit-Reviewer: Internal Jenkins Gerrit-Reviewer: Todd Lipcon <[email protected]>
