def send_metric(self, metric_name, datapoint, tags=None, type_=None, interval=None):
response = api.Metric.send(<EOL>metric=metric_name,<EOL>points=datapoint,<EOL>host=self.host,<EOL>tags=tags,<EOL>type=type_,<EOL>interval=interval)<EOL>self.validate_response(response)<EOL>return response<EOL>
Sends a single datapoint metric to DataDog

:param metric_name: The name of the metric
:type metric_name: str
:param datapoint: A single integer or float related to the metric
:type datapoint: int or float
:param tags: A list of tags associated with the metric
:type tags: list
:param type_: Type of your metric: gauge, rate, or count
:type type_: str
:param interval: If the type of the metric is rate or count, define the corresponding interval
:type interval: int