[issue44075] Add a PEP578 audit hook for Asyncio loop stalls

Tom Forbes report at bugs.python.org
Sat May 8 12:11:02 EDT 2021


Tom Forbes <tom at tomforb.es> added the comment:

Actually reacting to a stall would require something more and probably should be done at some point.

But this is purely about monitoring - in our use case we'd send a metric via statsd that would be used to correlate stalls against other service level metrics. This seems pretty critical when running a large number of asyncio applications in production because you can only currently _infer_ that a stall is happening, and it's hard to trace the cause across service boundaries. An event hook that was sent the loop and handle would be ideal for this.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44075>
_______________________________________


More information about the Python-bugs-list mailing list