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

Aberta
#8,085 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
4/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
55/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
aws, python
Domínio
observability

Direção de pesquisa

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.

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

Descrição

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
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.