Update PropagationContext on changes
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
- 35/100
- Tipo de issue
- Refatoração
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- python
- Domínio
- backend, observability-sre
Direção de pesquisa
Comece rastreando onde PropagationContext é atualizado e inspecione a lógica que recorre ao span ativo, incluindo como ela interage com scope.span. Revise o código antigo de tracing e as alterações de Span First antes de editar. Está concluído quando span_id e parent_span_id refletirem o estado atual e os consumidores usarem o contexto de propagação como a única fonte de verdade.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Currently, we only ever update the PropagationContext on trace start or trace continuation. It's then not kept in sync with what's actually going on: for example, the span_id field is never updated to the actual running span, and the parent_span_id field is not updated to the parent of the currently running span.
This means we have a lot of fragmented logic all around, first checking the active span for data, and only falling back to the PropagationContext when not available. The PropagationContext should be the single point of truth.
Goals
- update the propagation context's
span_id,parent_span_idwhenever these change, so that they represent the actual current state - check for places where we fall back to checking the propagation context and change them so that we use propagation context only (i.e., don't check for current span first, just use whatever is stored in the propagation context)
Notes
- Might be easier to do after we've ripped out the old tracing code with the changes for Span First.
- See how this interacts with
scope.span
- Linguagem predominante
- Python
- Estrelas
- 2.2k
- Forks
- 672
- Merge médio
- 19h 30min
- PRs com merge (30d)
- 215
Preparar o ambiente
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de getsentry/sentry-python
-
Python Task
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
getsentry/sentry-python#7668 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Python Task
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
getsentry/sentry-python#7663 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Python Task
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
getsentry/sentry-python#7652 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Remove send_default_pii from httpxTalvez já em andamento @sentrivana assumiu há 3 dias. AbertaPython
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
getsentry/sentry-python#7653 · 1 comentário · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Remove send_default_pii from httpx2Talvez já em andamento @sentrivana assumiu há 3 dias. AbertaPython
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
getsentry/sentry-python#7654 · 1 comentário · 1 responsável ·
Mantenedores costumam responder em até 1 dia
Todas as issues de getsentry/sentry-python
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
-
bug
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
qgis/QGIS-Plugins-Website#459 ·
-
bug severity:medium
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 2 dias
-
bot-found bug priority: P3
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
madenvel/KalinkaPlayer#179 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
ls1intum/edutelligence#1098 ·
Mantenedores costumam responder em até 1 dia