def METHOD_NAME(self, timeout: float) -> None:
    with metrics.timer("simple_produce_step.producer_poll_duration", sample_rate=0.05):
        start = time.time()
        self.__producer.poll(timeout)
        end = time.time()
    poll_duration = end - start
    self._record_poll_duration(poll_duration)