docs: def send_data_on_udp(ip_address, port, data):
      """Helper function to send a string over UDP to a specific IP/port."""
      sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
      try:
          sock.sendto(data.encode('utf-8'), (ip_address, port))
      except:
          LOGGER.exception('Failed to send trace to X-Ray Daemon')
      finally:
          sock.close()