def __init__(self):
    self._version = '0.1'
    self._type = 'metric'
    self.run_id = None
    self.mode = None
    self.server = Server()
    self.hardware = Hardware()
    self.env = Env()
    self.status = 'INIT'
    self.err_message = ''
    self.collection = {}
    self.index = {}
    self.search = {}
    self.run_params = {}
    self.metrics = {'type': '', 'value': None}
    self.datetime = str(datetime.datetime.now())
def __init__(self):
    self._version = '0.1'
    self._type = 'metric'
    self.run_id = None
    self.mode = None
    self.server = Server()
    self.hardware = Hardware()
    self.env = Env()
    self.status = 'INIT'
    self.err_message = 
    self.collection = {}
    self.index = {}
    self.search = {}
    self.run_params = {}
    self.metrics = {'type': , 'value': None}
    self.datetime = str(datetime.datetime.now())