def __init__(self, name: str, value: int, environment: str=None, zone: str=None, **kwargs):
    super().__init__(name=name, environment=environment, zone=zone)
    self['__type'] = 'metric'
    self['metric_type'] = kwargs.get('metric_type', 'ms')
    self['value'] = value
    self.update(**kwargs)
def __init__(self, name: str, value: int, environment: str=None, zone: str=None, **kwargs):
    super().__init__(name=name, environment=environment, zone=zone)
    self['__type'] = 'metric'
    self['metric_type'] = kwargs.get('metric_type', 'ms')
    self['value'] = value
    self.update(**kwargs)