Changelog

Release history for tracekit-sdk.

v0.1.0

Initial public release of tracekit-sdk on PyPI.

Features

  • Core capture: tracekit.init(), capture_exception(), capture_message(), flush(), and shutdown().
  • Automatic hooks: Chained sys.excepthook, threading.excepthook, and install_asyncio_hook().
  • Performance tracing: @tracekit.trace decorator (sync and async def) and tracekit.span() context manager.
  • Scoped context: Thread- and task-isolated set_user(), set_tag(), and add_breadcrumb() (capped at 20 breadcrumbs).
  • Output sinks: ConsoleSink (stderr), FileSink (JSONL), and HttpSink (batched POST with exponential backoff retry).
  • CLI tools: tracekit tail <file> for live JSONL tailing and tracekit serve --port 8765 for the auto-refreshing local HTML viewer.
  • Filtering & privacy: sample_rate, ignore_errors, before_send, and automatic recursive scrubbing of sensitive keys.
  • Logging integration: TraceKitHandler for Python's standard logging module.