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

Aberta
#967 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
28/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
aws, python

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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
Linguagem predominante
Python
Estrelas
59
Forks
32
Merge médio
1d 5h
PRs com merge (30d)
76

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de aws/aws-durable-execution-sdk-python

Todas as issues de aws/aws-durable-execution-sdk-python

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.