Extended the migration command for the metrics service.