Non-intrusive monitoring for Python asyncio and uvloop. Detects, pinpoints, and logs blocking IO and CPU calls that freeze your event loop. Current version: 1.1.4. Release cadence: irregular.
pip install aiocopNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Start monitoring with default block detection threshold of 100ms. Logs will be written to aiocop.log.
Call start() at the very beginning of your program, before any async functions are executed.
Set environment variable PYTHONTRACING=1 before starting Python, or use a try/except around AioCop construction.
If parsing log output, switch from 'async_id' field to 'task_id'.
No resource links recorded.