Skip to content

Add support for loading trace context from jaeger formatted strings#528

Merged
mitch292 merged 2 commits intocloudflare:masterfrom
aberglund-cf:support_textmap_traces
Oct 8, 2025
Merged

Add support for loading trace context from jaeger formatted strings#528
mitch292 merged 2 commits intocloudflare:masterfrom
aberglund-cf:support_textmap_traces

Conversation

@aberglund-cf
Copy link
Copy Markdown
Contributor

@aberglund-cf aberglund-cf commented Sep 18, 2025

This change is trying to solve an issue of wire protocol compatibility with the keynotto implementation. That service is expecting to load trace state using the Jaeger text format. This is causing friction with clients which are interacting with both gokeyless and keynotto. Automatically supporting both in the gokeyless service will make it easier for clients to start propagating traces to both services without needing to consider the expected format.

While clients (or keynotto) could implement the binary format, it seems better to avoid continued use of a deprecated format in new code and instead allow the usage of the more convenient and widely support Jaeger text format.

Many clients are already propagating traces with the text format and I believe adding support here would result in the smallest amount of work overall.

@lgarofalo lgarofalo requested a review from mitch292 September 23, 2025 17:01
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Oct 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 45.90%. Comparing base (ee142a8) to head (2d110ca).
⚠️ Report is 83 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #528      +/-   ##
==========================================
- Coverage   48.75%   45.90%   -2.86%     
==========================================
  Files          25       28       +3     
  Lines        3222     3662     +440     
==========================================
+ Hits         1571     1681     +110     
- Misses       1477     1810     +333     
+ Partials      174      171       -3     

☔ View full report in Codecov by Sentry.
📢 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.

@mitch292 mitch292 merged commit 6b529d4 into cloudflare:master Oct 8, 2025
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.

3 participants