[英]Airflow REST API - How to get the history of executed tasks?
I wants to know the status of all the task executed. 我想知道所有已执行任务的状态。 We can do that manually, but i wants to know it through REST Client(Google composer). 我们可以手动完成,但是我想通过REST Client(Google composer)知道。
Composer environment API currently doesn't support retrieving Airflow-level metadata info. Composer环境API当前不支持检索气流级别的元数据信息。 As a workaround, you may want to use Airflow task info API . 解决方法是,您可能要使用Airflow任务信息API 。 Admittedly the Airflow API isn't comprehensive, but if you know the { dag-id
, task-id
, execution-date
} tuple, it might not be a problem. 诚然,Airflow API并不全面,但是如果您知道{ dag-id
, task-id
, execution-date
}元组,则可能不是问题。 Composer co-hosts the Airflow API server with the webUI, here's an example on how to programmatically access the Airflow APIs. Composer与webUI共同托管Airflow API服务器,这是有关如何以编程方式访问Airflow API的示例 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.