celery monitoring with sqs broker

一个人想着一个人 提交于 2021-02-10 20:32:41

问题


We are using Airflow(1.10.3) with celery executor(4.1.1 (latentcall)) and broker SQS. While debugging an issue we tried our hands on celery CLI and found out that SQS broker is not supported for any of the inspect commands or monitoring tool eg. Flower. Is there any way we can monitor the tasks or events on celery workers?

We have tried curses monitor as below:

celery events -b sqs://

But it shows no worker discovered,no tasks selected. Inspect Commands directly shows:

Availability: RabbitMQ (AMQP) and Redis transports.

Please let me know if I am missing something or is it even possible to monitor celery workers with SQS.


回答1:


SQS transport does not provide support for monitoring/inspection (this is the main reason why I do not use it)... According to the latest documentation Redis and RabbitMQ are the only broker types that have support for monitoring/inspection and remote control.



来源:https://stackoverflow.com/questions/58338090/celery-monitoring-with-sqs-broker

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!