Skip to content

Fix logfire "Found propagated tracing"#36

Merged
ivansantiagojr merged 2 commits into
mainfrom
distributed-tracing
Jun 21, 2026
Merged

Fix logfire "Found propagated tracing"#36
ivansantiagojr merged 2 commits into
mainfrom
distributed-tracing

Conversation

@ivansantiagojr

Copy link
Copy Markdown
Member

Merge first

Summary

After deploy donotcommit to FastAPI cloud and setting up the logfire token, we started getting the warning "Found propagated trace context".

Fix

The logfire docs suggested setting the distributed_tracing to False.

Rationale

Read this whole page to understand the problem further, but I believe this has to do with both FastAPI Cloud and Logfire observing the same app.

The logfire dashboard was warning us: 'Found propagated trace context'. This change solves this problem.
Check https://pydantic.dev/docs/logfire/instrument/distributed-tracing/#unintentional-distributed-tracing.
@ivansantiagojr ivansantiagojr merged commit 9cca52c into main Jun 21, 2026
2 checks passed
@ivansantiagojr ivansantiagojr deleted the distributed-tracing branch June 21, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants