This PR fixes the trace context generation issue by implementing proper W3C Trace Context support:

  • Added a dedicated trace_context module for handling trace context generation and parsing
  • Implemented functions to generate and parse W3C compliant traceparent and tracestate headers
  • Added helper functions to inject trace context into outgoing requests
  • Added helper functions to extract trace context from incoming requests
  • Added comprehensive tests to verify functionality
  • Updated worker invocation code to properly propagate trace context

The implementation follows the W3C Trace Context specification and ensures that trace context is properly propagated across service boundaries.

/claim #1514

Claim

Total prize pool $1,500
Total paid $0
Status Pending
Submitted April 14, 2025
Last updated April 14, 2025

Contributors

SA

Sazalo

@sazalo101

100%

Sponsors

GO

Golem Cloud

@golemcloud

$1,500