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
Dependencies
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
Summary
Ensure all log output from the ETL process is in a structured JSON format and includes trace IDs for correlation.
Details
zerologorslogin Go).trace_id.trace_idshould be present in every log line for that run.Acceptance Criteria
trace_idfield.Dependencies
Out of Scope
Test Plan
Checklist