Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Remove per-invocation Lambda lifecycle INFO logs

Aperta
#238 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

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.

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

Descrizione

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.

Lingua principale
Python
Stelle
4
Fork
0
Merge medio
3g 7h
PR unite (30g)
11

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 AbsaOSS/EventGate

Tutte le issue di AbsaOSS/EventGate

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.