Skip to main content

Full-stack cross-end debug tracer — NDJSON + readable, scope-filtered, AI-friendly

Project description

tracelink

Full-stack cross-end debug tracer — NDJSON + readable, scope-filtered, AI-friendly.

Install

pip install tracelink

With FastAPI/Starlette support:

pip install tracelink[fastapi]

Quick Start

from tracelink import debug_tracer

debug_tracer.start_scope('delete-work')
debug_tracer.entry('router.py:delete', 'user clicked delete', {'user_id': 123}, scope='delete-work')
debug_tracer.end_scope('delete-work')

Features

  • Scope-filtered: group related log entries by scope name
  • AI-friendly NDJSON: each entry is one JSON line, easy for AI agents to parse
  • Zero dependencies: core uses only Python stdlib
  • FastAPI/Starlette middleware: plug-and-play HTTP middleware
  • Dashboard: built-in web UI to browse traces

CLI

tracelink --port 8080

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tracelink-0.2.0-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page