def METHOD_NAME(event: ExecutionBaseEvent, alert_manager_event: AlertManagerEventParams):
    """
    Handle alert manager event, as a Robusta action.
    """
    prometheus_event = AlertManagerEvent(**alert_manager_event.event)
    headers = {"Content-type": "application/json"}
    return requests.post(
        f"http://localhost:{PORT}/api/alerts",
        data=prometheus_event.json(),
        headers=headers,
    )