Getting Started with Observability
Basalt Observability is built on OpenTelemetry and designed to be integrated into any Python application with minimal code changes.1. Install the SDK
2. Initialize Basalt
Set your API key as an environment variable:3. Add Tracing to your Code
Use@start_observe for your entry points (like an API handler) and @observe for nested operations (like LLM calls or tool use).
4. View your Traces
Run your script, then head over to the Basalt Dashboard to see your traces in real-time.Next Steps
- Core Concepts - Understand traces, spans, and context.
- Auto-instrumentation - Automatically trace OpenAI, Anthropic, and more.
- Identity Tracking - Attach users and organizations to your traces.