Skip to content

TASK: IGDB ETL – Structured Logging + Trace IDs #31

@AndersonGACFilho

Description

@AndersonGACFilho

Summary

Ensure all log output from the ETL process is in a structured JSON format and includes trace IDs for correlation.

Details

  • Use a structured logging library (e.g., zerolog or slog in Go).
  • Each ETL run should be associated with a unique trace_id.
  • This trace_id should be present in every log line for that run.

Acceptance Criteria

  • All log output is in valid JSON.
  • Every log line contains a trace_id field.
  • Logging & metrics added.
  • No linter / build errors

Dependencies

  • None

Out of Scope

  • Log shipping or aggregation.

Test Plan

  • Run the ETL and capture its standard output, then validate that the output is structured JSON and contains the required fields.

Checklist

  • Labels added (task, component/igdb-etl)
  • CHANGELOG updated if user-visible
  • No secrets committed

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions