feat(aws-lambda): Add init & import spans

Aperta
#8,085 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à
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
aws, python
Ambito
observability

Direzione di ricerca

Read the AWS Lambda layer code that imports the handler module and starts the first invocation. Check how it detects cold starts, whether /proc/self/stat is available, and how proactive invocations are identified. Done means the function.aws.init span is emitted only for a waited on-demand cold start and the function.aws.import span covers the handler module import.

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

Descrizione

Feature Integration: AWS Lambda Python Traces

Cold start's and module-level code aren't visible in the trace.

  • function.aws.init: child of the first invocation, named {faas.name} init, only for a cold start a request waited for (on-demand and not proactive). Starts at process start (/proc/self/stat), else when the SDK loaded; ends when the first invocation starts.
  • function.aws.import: the handler module import done by the layer
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.