Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Remove per-invocation Lambda lifecycle INFO logs

Abierto
#238 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
64/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
aws, python

Línea de trabajo

Locate the EventGate and EventStats Lambda entry points and the code emitting lifecycle messages, then review ADR-002 and the existing request-completion logging. Exercise both warm and normal invocations with LOG_LEVEL=INFO and add or run tests that count INFO records. Done means each invocation has one structured Request completed. record, with step detail remaining at DEBUG.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug
Describe the bug

Lambda invocations emit additional plaintext lifecycle messages such as lambda started and lambda finished alongside request logs. This violates ADR-002 observability logging budget: one INFO request-outcome record per invocation, with outcome data attached as structured fields rather than additional lines.

Steps to Reproduce
  1. Invoke either EventGate or EventStats Lambda with LOG_LEVEL=INFO.
  2. Inspect CloudWatch logs for one invocation.
  3. Observe plaintext Lambda start/finish lifecycle messages in addition to structured request completion output.
Expected state

For each normal Lambda invocation, emit exactly one request-scoped INFO record: Request completed.

  • Include status, duration, correlation ID, and handler outcome as structured JSON fields.
  • Keep request step detail at DEBUG.
  • Preserve ADR-approved container-lifecycle records only when tied to cold start, initialization, or connection age.
  • Remove or downgrade per-invocation plaintext lifecycle messages so they cannot inflate INFO log volume.
Impact / Severity

Low

Attachments / Evidence

ADR-002, “Logging strategy”:

  • One INFO line per request.
  • Handler outcomes must use fields on completion record, not extra log lines.
  • Lifecycle INFO records allowed only when tied to container or connection age, not request count.

Verify both EventGate and EventStats Lambda paths, including warm invocations, using tests that assert INFO-record count per invocation.

Lenguaje dominante
Python
Estrellas
4
Forks
0
Merge medio
3 d 7 h
PR fusionados (30 d)
11

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de AbsaOSS/EventGate

Todos los issues de AbsaOSS/EventGate

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.