Remove per-invocation Lambda lifecycle INFO logs
Maintainer antworten meist innerhalb von 2 Tagen
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 64/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- aws, python
- Bereich
- observability
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Invoke either EventGate or EventStats Lambda with
LOG_LEVEL=INFO. - Inspect CloudWatch logs for one invocation.
- 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
INFOline 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.
- Vorherrschende Sprache
- Python
- Sterne
- 4
- Forks
- 0
- Ø Merge
- 3 T. 7 Std.
- Gemergte PRs (30 T.)
- 11
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus AbsaOSS/EventGate
-
refactoring type:tech-debt
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 2 Tagen
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
Maintainer antworten meist innerhalb von 2 Tagen
-
Make Writes IdempotentOffenenhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 32/100
Maintainer antworten meist innerhalb von 2 Tagen
-
infrastructure type:tech-debt
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 70/100
Maintainer antworten meist innerhalb von 2 Tagen
-
bug
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 70/100
Maintainer antworten meist innerhalb von 2 Tagen
Alle Issues in AbsaOSS/EventGate
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 92/100
-
Harmony OPeNDAP SubSetter (HOSS) Geographic LARC_CLOUD PREFIRE_SAT2_AUX-SAT R01 production
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
nasa/harmony-autotester#245 ·
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Deltares/imod-python#1928 ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 1 Tag
-
feature
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100