feat(aws-lambda): Add exec. environment and invocation attributes
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- aws, python
- Área
- backend, observability
Línea de trabajo
Start by reading the AWS Lambda integration and its tests in sentry-python; the issue does not name specific files or test paths. Check the linked sentry-conventions#730 dependency before work. Done means environment attributes are cached once and invocation attributes reflect cold starts, timing, remaining time, and the CloudWatch logs URL.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Cold starts and durations are invisible on spans: duration, remaining time and the CloudWatch URL are only added as extras to error events.
Cold starts and durations are currently invisible and only added as extras to error events. Add the following attributes:
Environment (cached once)
faas.instance: log stream namefaas.max_memory:AWS_LAMBDA_FUNCTION_MEMORY_SIZE× 1,048,576faas.entry_point:_HANDLERaws.lambda.initialization_type:AWS_LAMBDA_INITIALIZATION_TYPE
Invocation
faas.coldstart:trueon the first invocation in the environmentaws.lambda.proactive_initialization:trueon a first invocation that starts > 10 s after the SDK loaded (no request waited for the init)aws.lambda.execution_duration_in_millis/faas.duration_in_ms: handler durationaws.lambda.remaining_time_in_millis: at invocation endaws.cloudwatch.logs.url
Depends on getsentry/sentry-conventions#730
- Lenguaje dominante
- Python
- Estrellas
- 2.2k
- Forks
- 713
- Merge medio
- 1 d 16 min
- PR fusionados (30 d)
- 113
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de getsentry/sentry-python
-
Rate limits from later headers shorten longer active limitsPosiblemente ocupada @sentry-junior la tomó hace 12 días. AbiertoPython
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
getsentry/sentry-python#8296 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
perf: Source context re-reads the whole file via loader.get_source() for every framePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. AbiertoImprovement Python Waiting for: Product Owner
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
getsentry/sentry-python#8089 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Improvement Integration: Boto3 Python Traces
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
getsentry/sentry-python#8074 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
`litellm`: Set request parametersQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. AbiertoImprovement Python Spans
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
getsentry/sentry-python#7994 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
`cohere`: Set request parametersQuizá libre de nuevo @mohanprasath-dev la tomó hace 44 días y no hay ningún pull request abierto. AbiertoImprovement Python Spans Waiting for: Product Owner
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
getsentry/sentry-python#7992 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de getsentry/sentry-python
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
521xueweihan/HelloGitHub#4599 ·
-
Bug Needs Triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
pandas-dev/pandas#72413 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
compiler-explorer/compiler-explorer#9710 ·
Los mantenedores suelen responder en 1 día
-
bug harness
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
mruangutai/harness#2687 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
modal-labs/modal-client#4158 ·