Introducing wrapture - Graham Dumpleton
Summary
wrapture is a Python instrumentation toolkit that wraps real code to observe calls, capturing real execution, returns, and nesting. It combines monkey patching, unit testing with live code paths, and ad-hoc production tracing, with optional output to OpenTelemetry backends. The post also details how AI helped build it, its alpha status, and planned directions.