Skip to content

Commit 0d2ed25

Browse files
committed
clarify docs
1 parent bd4b4c4 commit 0d2ed25

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/durable_execution/dbos.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,8 @@ You can customize DBOS's retry policy using [step configuration](#step-configura
140140

141141
## Observability with Logfire
142142

143-
DBOS emits OpenTelemetry traces and events for every workflow and step, and Pydantic AI generates events for each agent run, model request and tool call. Both can be sent to [Pydantic Logfire](../logfire.md) for observability.
144-
145-
⚠️ However, we **recommend disabling DBOS's built-in OpenTelemetry tracing** when using Logfire.
146-
Otherwise, you may see duplicate or conflicting traces, since both DBOS and Logfire emit overlapping information.
143+
When using [Pydantic Logfire](../logfire.md), we **recommend disabling DBOS's built-in OpenTelemetry tracing**.
144+
DBOS automatically wraps workflow and step execution in spans, while Pydantic AI and Logfire already emit spans for the same function calls, model requests, and tool invocations. Without disabling DBOS tracing, these operations may appear twice in your trace tree.
147145

148146
To disable DBOS traces and logs, you can set `disable_otlp=True` in `DBOSConfig`. For example:
149147

0 commit comments

Comments
 (0)