Python SDK for TraceRoot
Introduction
The TraceRoot Python SDK is a lightweight wrapper around OpenTelemetry, optimized for ease of use.Installation
Environment Setup
Create a TraceRoot token from the dashboard, and add it to your backend.env file.
.env
traceroot.init() as early as possible
in your application. Ideally before you import other TraceRoot components in
any source files, e.g.
Examples
Uses@traceroot.trace() for traces and TraceRoot logger similar to the default Python logger.