session_id.
Python
TypeScript
When to trace vs single observe
Single observe() | Trace |
|---|---|
| One LLM call per user turn | Chain of calls (RAG, ReAct, multi-agent) |
| Simple chatbots | Research → draft → review pipelines |
| Lowest overhead | Full visibility into each step |
Step names
Use stable step names (research, tool_call, final) so Monitoring and debugging stay readable across sessions.

