Andrew Wong has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/17947 )

Change subject: KUDU-1959 - Implement startup progress metrics related to 
containers and tablets
......................................................................

KUDU-1959 - Implement startup progress metrics related to containers and tablets

This patch implements the metrics related to the server startup.
* In case of log block manager, we expose:
  - log_block_manager_total_containers_startup : total containers present,
  - log_block_manager_processed_containers_startup : count of containers
    opened/processed until the requested instant of time and
  - log_block_manager_containers_processing_time_startup : time elapsed
    for opening the containers. If the containers are not yet opened, we
    provide the time elapsed so far.
* In case of tablet server, we expose:
  - tablets_num_total_startup : total tablets present,
  - tablets_num_opened_startup : count of tablets opened/processed until
    the requested instant of time and
  - tablets_opening_time_startup : time elapsed for opening the tablets.
    If the tablets are not yet opened, we provide the time elapsed so
    far.

All the times are in milliseconds and the time metrics are in debug
level.

Change-Id: I9d1aa85b0585214475a6bdb8c0e5d7343c5bc3c9
Reviewed-on: http://gerrit.cloudera.org:8080/17947
Reviewed-by: Andrew Wong <aw...@cloudera.com>
Tested-by: Andrew Wong <aw...@cloudera.com>
---
M src/kudu/fs/fs_manager.cc
M src/kudu/fs/log_block_manager.cc
M src/kudu/tserver/ts_tablet_manager.cc
M src/kudu/tserver/ts_tablet_manager.h
4 files changed, 67 insertions(+), 0 deletions(-)

Approvals:
  Andrew Wong: Looks good to me, approved; Verified

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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I9d1aa85b0585214475a6bdb8c0e5d7343c5bc3c9
Gerrit-Change-Number: 17947
Gerrit-PatchSet: 5
Gerrit-Owner: Abhishek Chennaka <achenn...@cloudera.com>
Gerrit-Reviewer: Abhishek Chennaka <achenn...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to