add a service to create metrics list from a hierarchy.