Skip to content

Exclude some OTEL spans to reduce noise - #205

Merged
tokebe merged 1 commit into
mainfrom
otel-noise
Sep 1, 2026
Merged

Exclude some OTEL spans to reduce noise#205
tokebe merged 1 commit into
mainfrom
otel-noise

Conversation

@EvanDietzMorris

Copy link
Copy Markdown
Contributor

Auto-instrumentation of FastAPI ASGI events results in an abundance of send/receive spans. The receive spans could in theory measure time spent waiting, the send spans carry no useful information at all, but neither tells us anything important the parent span doesn't already record, since status code and duration are set on the parent regardless. With our current OTEL usage (100% sampling and many service calls) they just flood traces with uninteresting spans. This removes them.

@codecov

codecov Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/retriever/utils/telemetry.py 56.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tokebe
tokebe merged commit e593620 into main Sep 1, 2026
5 checks passed
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