Metadata-Version: 2.4
Name: traceforge-observability
Version: 0.1.0
Summary: TraceForge zero-code OpenTelemetry instrumentation for Python
License-Expression: Apache-2.0
Project-URL: Repository, https://github.com/KeshavKandoi/TraceForge
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: python-dotenv<2,>=1.0
Requires-Dist: opentelemetry-sdk==1.34.1
Requires-Dist: opentelemetry-exporter-otlp-proto-common==1.34.1
Requires-Dist: opentelemetry-instrumentation-fastapi==0.55b1
Requires-Dist: opentelemetry-instrumentation-flask==0.55b1
Requires-Dist: opentelemetry-instrumentation-django==0.55b1
Requires-Dist: opentelemetry-instrumentation-requests==0.55b1
Requires-Dist: opentelemetry-instrumentation-httpx==0.55b1
Requires-Dist: opentelemetry-instrumentation-sqlalchemy==0.55b1
Requires-Dist: opentelemetry-instrumentation-psycopg==0.55b1
Requires-Dist: opentelemetry-instrumentation-psycopg2==0.55b1
Requires-Dist: opentelemetry-instrumentation-redis==0.55b1
Dynamic: license-file

# TraceForge for Python

Python 3.10+ instrumentation using the official OpenTelemetry SDK. Install the
distribution and configure the server environment with the workspace
`TRACEFORGE_DSN` and optionally `OTEL_SERVICE_NAME`. Start an existing application
with `traceforge-run uvicorn main:app` or `traceforge-run python app.py`.

The launcher reads `.env` from the working directory and preserves settings
provided by your host. It loads instrumentation before application imports.
Install the framework or database drivers your application normally uses.
For Django, set `DJANGO_SETTINGS_MODULE` before startup. Isolated Python modes
that skip site initialization cannot load the runtime.

The exporter retains trace relationships, timing, status, and allowlisted HTTP
metadata. It omits URLs, headers, query strings, SQL, Redis commands, payloads,
and exception messages. Set `TRACEFORGE_LOG_EXPORTS=1` to check storage receipts.

Framework and database version support follows the bundled OpenTelemetry
instrumentors. For example, the bundled SQLAlchemy instrumentor supports
SQLAlchemy before 2.1. The app can still run when an optional instrumentor
reports an incompatible dependency.
