This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author orf
Recipients asvetlov, orf, yselivanov
Date 2021-05-08.12:19:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1620476386.35.0.418122152623.issue44075@roundup.psfhosted.org>
In-reply-to
Content
Detecting and monitoring loop stalls in a production asyncio application is more difficult than it could be.

Firstly you must enable debug mode for the entire loop then you need to look for warnings outputted via the asyncio logger. This makes it hard to send loop stalls to monitoring systems via something like statsd.

Ideally asyncio callbacks would always be timed and an auditevent always triggered if it passes a particular threshold. If debug mode is enabled then a warning is logged.
History
Date User Action Args
2021-05-08 12:19:46orfsetrecipients: + orf, asvetlov, yselivanov
2021-05-08 12:19:46orfsetmessageid: <1620476386.35.0.418122152623.issue44075@roundup.psfhosted.org>
2021-05-08 12:19:46orflinkissue44075 messages
2021-05-08 12:19:45orfcreate