Abhishek Chennaka has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/17903


Change subject: KUDU-1959 - Implement server startup progress page for tablet 
and master servers
......................................................................

KUDU-1959 - Implement server startup progress page for tablet and master servers

This patch implements the metrics related to the server startup progress
page.
* In case of log block manager, we expose the below metrics:
  - 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 all the containers are not yet opened,
    we provide the time elapsed so far.
* In case of tablet server, we expose the below metrics:
  - tablets_num_total_startup : total tablets present,
  - tablets_num_opened_startup : count of tablets opening/processed until
    the requested instant of time and
  - tablets_opening_time_startup : time elapsed for opening the tablets.
    If all the tablets are not yet opened, we provide the time elapsed so
    far.

We also expose:
* startup_progress_percentage : aggregate percentage of server startup
  steps
* startup_progress_time_elapsed : the time taken in each step as two
  metrics

All the times are in milliseconds.

Change-Id: I0a508c3baf0a0d77baf75f36f7bb305a6ad821e1
---
M src/kudu/fs/fs_manager.cc
M src/kudu/fs/log_block_manager.cc
M src/kudu/server/server_base.cc
M src/kudu/server/startup_path_handler.cc
M src/kudu/server/startup_path_handler.h
M src/kudu/tserver/ts_tablet_manager.cc
M src/kudu/tserver/ts_tablet_manager.h
7 files changed, 136 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/03/17903/1
--
To view, visit http://gerrit.cloudera.org:8080/17903
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0a508c3baf0a0d77baf75f36f7bb305a6ad821e1
Gerrit-Change-Number: 17903
Gerrit-PatchSet: 1
Gerrit-Owner: Abhishek Chennaka <[email protected]>

Reply via email to