def METHOD_NAME(
    self,
    name: str,
    value: Union[int, float],
    dimensions: Optional[List["MetricDimension"]] = None,
    timestamp: Optional[datetime] = None,
) -> None:
    """
    Create metric with unit Milliseconds.
    :param name: metric name
    :param value: value of metric
    :param unit: unit of metric (try using values from Unit class)
    :param dimensions: array of dimensions applied to the metric
    :param timestamp: timestamp of metric (datetime.datetime object)
    """
    self._record_metric(name, value, Unit.Milliseconds, dimensions, timestamp)