Skip to content

Add support for span links - #8217

Closed
wperron wants to merge 1 commit into
cloudflare:mainfrom
wperron:wperron/wo-1767-span-links
Closed

wperron wants to merge 1 commit into
cloudflare:mainfrom
wperron:wperron/wo-1767-span-links

Conversation

@wperron

@wperron wperron commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Expose addLink() and addLinks() behind the experimental span_links compatibility flag. Preserve receiver-owned attribution, sanitize scalar link attributes using the OpenTelemetry JS SDK model, and carry links through streaming tail.
@wperron

wperron commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator Author

Replaced by #8218 so the required internal build runs from a repository-owned branch.

@wperron wperron closed this Nov 4, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 38.92774% with 262 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.77%. Comparing base (50d8b30) to head (3d0695a).
⚠️ Report is 45 commits behind head on main.

Files with missing lines Patch % Lines
src/workerd/api/tracing.c++ 0.00% 141 Missing ⚠️
src/workerd/io/trace.c++ 77.30% 16 Missing and 16 partials ⚠️
src/workerd/io/trace-stream.c++ 17.14% 29 Missing ⚠️
src/workerd/api/tracing.h 10.71% 23 Missing and 2 partials ⚠️
src/workerd/io/trace-test.c++ 71.87% 0 Missing and 18 partials ⚠️
src/workerd/io/tracer.c++ 0.00% 12 Missing ⚠️
src/workerd/server/factory/worker-factory.c++ 0.00% 3 Missing ⚠️
src/workerd/io/tracer.h 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8217      +/-   ##
==========================================
- Coverage   68.84%   68.77%   -0.08%     
==========================================
  Files         737      743       +6     
  Lines      193921   195107    +1186     
  Branches    30088    30306     +218     
==========================================
+ Hits       133513   134179     +666     
- Misses      42756    43176     +420     
- Partials    17652    17752     +100     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 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.

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