> ## Documentation Index
> Fetch the complete documentation index at: https://phidatainc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Tracing

> OpenTelemetry tracing for AgentOS agents, teams, and workflows, including multi-database trace storage.

| Example                                                                                                     | Description                                                                                                               |
| ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| [Basic Agent Tracing](/examples/agent-os/tracing/basic-agent-tracing)                                       | Enable tracing on AgentOS to record every run of a HackerNews agent in SQLite.                                            |
| [Basic Team Tracing](/examples/agent-os/tracing/basic-team-tracing)                                         | Enable tracing for a team; AgentOS traces the team and its members without per-agent setup.                               |
| [Agent with Knowledge Tracing](/examples/agent-os/tracing/agent-with-knowledge-tracing)                     | Trace a knowledge agent's runs, including PgVector searches, with tracing enabled on AgentOS.                             |
| [Agent with Reasoning Tools Tracing](/examples/agent-os/tracing/agent-with-reasoning-tools-tracing)         | Capture reasoning steps in traces by serving a ReasoningTools agent with tracing enabled.                                 |
| [Basic Workflow Tracing](/examples/agent-os/tracing/basic-workflow-tracing)                                 | Trace a research workflow with a conditional fact-check step by enabling tracing on AgentOS.                              |
| [Tracing with Multi DB Scenario](/examples/agent-os/tracing/tracing-with-multi-db-scenario)                 | Configure tracing manually with setup\_tracing, batching exports to a dedicated traces database.                          |
| [Tracing with Multi DB and Tracing Flag](/examples/agent-os/tracing/tracing-with-multi-db-and-tracing-flag) | Route traces to a dedicated database when each agent has its own db, using tracing=True on AgentOS.                       |
| [DBs](/examples/agent-os/tracing/dbs/overview)                                                              | Persist AgentOS traces to ClickHouse, MongoDB, PostgreSQL, and SQLite.                                                    |
| [Advanced Trace Filtering](/examples/agent-os/tracing/advanced-trace-filtering)                             | Build AND/OR/NOT, CONTAINS, IN and range trace queries with the FilterExpr DSL and run them against SqliteDb.get\_traces. |
