[Feature][OTel]: Read traceparent from native Lambda W3C context

Aperta
#967 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
28/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
aws, python

Direzione di ricerca

Start in the Durable OpenTelemetry plugin and find the existing w3c_client_context_extractor plus the runtime interface client version pinned in the project; the issue depends on the context.w3c() API added in runtime interface client 4.2.0. Read how the plugin currently selects a parent span, then decide precedence between native W3C values and the existing propagation sources, preserving behavior when helpers are missing or values are malformed. Done means tests covering a valid parent, the precedence cases, and a suspend/resume cycle where correlation stays stable.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

needs-triage
What would you like?

Support inbound W3C trace continuity in the Durable OpenTelemetry plugin by reading the invocation's traceparent via Lambda's native context.w3c() API. The runtime interface client added this API in October 2026 for fields supplied in clientContext.w3c.

Wire the existing w3c_client_context_extractor into this runtime path.

Acceptance criteria
  • A valid native W3C parent joins the durable trace according to the plugin's parent-selection rules.
  • Define and test precedence when W3C and existing propagation sources are both present. Missing helpers or missing or malformed W3C values preserve existing behavior.
  • Cover a suspend/resume case and verify that trace correlation remains stable.
Related
Lingua principale
Python
Stelle
59
Fork
32
Merge medio
1g 5h
PR unite (30g)
76

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di aws/aws-durable-execution-sdk-python

Tutte le issue di aws/aws-durable-execution-sdk-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.