fix(boto3): HTTP attributes on the response stream

Aperta
#8,073 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
aws, python

Direzione di ricerca

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.

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

Descrizione

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
Lingua principale
Python
Stelle
2.2k
Fork
713
Merge medio
1g 16m
PR unite (30g)
113

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

Tutte le issue di getsentry/sentry-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.