feat: add meaningful logs for export task#666
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #666 +/- ##
==========================================
- Coverage 92.39% 92.38% -0.01%
==========================================
Files 1295 1295
Lines 47656 47661 +5
Branches 1592 1592
==========================================
Hits 44030 44030
- Misses 3317 3322 +5
Partials 309 309
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
CodSpeed Performance ReportMerging this PR will not alter performanceComparing Summary
Footnotes |
Add/adjust logs for exporter.
https://linear.app/getsentry/issue/CCMRG-2025/add-logs-for-export-task-testing
Legal Boilerplate
Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.
Note
Improves observability of the owner data export pipeline with structured, contextual logs and consistent telemetry across admin, tasks, and helpers.
log.info/error/warningevents withextrametadata (e.g.,export_id,owner_id,chord_id, counts, sizes) at key stages: orchestrator start/dispatch, SQL export, archive collection, finalization, cleanupexport_idthrough SQL generation and archive copy paths (ExportContext,generate_full_export/generate_timescale_export,copy_archive_file, tarball helpers) for correlationWritten by Cursor Bugbot for commit 0c80f15. This will update automatically on new commits. Configure here.