Skip to content

v0.0.8 - Call graphs for completed slow tasks

Choose a tag to compare

@Kludex Kludex released this 18 Aug 19:23
be67785

🔭 Call graphs survive task completion

zuvloop 0.0.8 keeps slow-callback telemetry useful when the blocked callback is the final step of a coroutine.

pip install zuvloop==0.0.8
  • Completed slow tasks retain their identity in the asyncio.call_graph span attribute instead of falling into the no-call-graph bucket (#98).
  • The fallback matches the shape of asyncio.format_call_graph() and includes the task name, completion state, coroutine qualname, and source location.
  • Task results and exception messages stay out of telemetry. The fallback renders controlled metadata instead of the task repr, which may contain application data.
  • Active tasks keep the full standard-library call graph. The fallback only applies after Python has released the completed coroutine's frames.

Full changelog: v0.0.7...v0.0.8