fix(boto3): HTTP attributes on the response stream

Aberta
#8,073 1 comentário 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
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
48/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
aws, python

Direção de pesquisa

Start by locating the boto3 instrumentation for the http.client.stream child span and the URL sanitization used for client spans and breadcrumbs. Check the related tests for span names, HTTP attributes, fragment removal, and redaction of X-Amz-Credential and X-Amz-Signature; done means the stream span follows the requested HTTP conventions and these URL cases are covered.

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

Descrição

Improvement Integration: Boto3 Python Traces

The http.client.stream child copies it's parent's name, so it kinda looks like a duplicate in the trace waterfall.

  • stream child name should follow conventions and use HTTP name, e.g. GET bucket.s3.amazonaws.com, kind internal, http.request.method, url.domain, url.full, http.response.body.size
  • client span and breadcrumb: url.domain, url.full without fragment
  • X-Amz-Credential & X-Amz-Signature should always be redacted if in URLs; but generic denylist doesn't filter them
Linguagem predominante
Python
Estrelas
2.2k
Forks
713
Merge médio
1d 16min
PRs com merge (30d)
113

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 getsentry/sentry-python

Todas as issues de getsentry/sentry-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.