def timing(self, name, milliseconds, rate=1):
        # type: (str, float, float) -> None
        """Send a Timer metric with the specified duration in milliseconds"""

        if self._should_send_metric(name, rate):
            milliseconds = int(milliseconds)
            self._request(
                Timer(
                    self._create_metric_name_for_request(name),
                    milliseconds,
                    rate
                ).to_request()
            )
Send a Timer metric with the specified duration in milliseconds