Skip to content

feat: inject W3C traceparent header for request correlation#362

Draft
Raina451 wants to merge 1 commit intomainfrom
feat/traceparent-request-correlation
Draft

feat: inject W3C traceparent header for request correlation#362
Raina451 wants to merge 1 commit intomainfrom
feat/traceparent-request-correlation

Conversation

@Raina451
Copy link
Copy Markdown
Collaborator

@Raina451 Raina451 commented Apr 8, 2026

Adds automatic generation and injection of traceparent header on all outgoing API requests. This enables end-to-end request tracing across SDK → CF Worker → backend services by mapping traceId to App Insights operation_Id.

Traceparent format: 00-{traceId:32hex}-{spanId:16hex}-01

  • traceId: unique identifier for the entire trace
  • spanId: derived from traceId for this span
  • Propagated unchanged through all downstream services

Adds automatic generation and injection of traceparent header on all
outgoing API requests. This enables end-to-end request tracing across
SDK → CF Worker → backend services by mapping traceId to App Insights
operation_Id.

Traceparent format: 00-{traceId:32hex}-{spanId:16hex}-01
- traceId: unique identifier for the entire trace
- spanId: derived from traceId for this span
- Propagated unchanged through all downstream services

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 8, 2026

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