refactored htable template to include various collection of metrics