Instrumentation¶
Learn how to instrument your Python application using auto-instrumentation or manual spans.
- Auto-Instrumentation — Zero-code patching for OpenAI, Anthropic, LiteLLM, and LangChain.
- Manual Spans — Decorator — Use the
@llm_observedecorator to capture function metadata. - Manual Spans — Context Manager — Dynamic span orchestration and token pre-counting.
- Streaming Observability — Time-to-First-Token tracking and streaming wrappers.