Added support for the service metrics and added options to the services to report their metrics.