-
Notifications
You must be signed in to change notification settings - Fork 3
Celery event monitor for agent #118
Copy link
Copy link
Open
Milestone
Description
We should provide the celery event monitor for the agent to be able to quickly debug whether RPC messages get through properly.
The following is a snippet that should provide an adequate wrapper around celery.events.cursesmon.
from celery.events.cursesmon import evtop
from hades.config import load_config
from hades.agent import create_app
app = create_app(load_config())
app.control.broadcast("enable_events")
try:
evtop(app)
finally:
app.control.broadcast("disable_events")Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels