The service which handles the metrics data in CKB.
Ensures the metrics service can shutdown gracefully.
Initializes the metrics service and lets it run in the background.