data_dir lives on the host that runs it. A developer’s laptop does not have it. A bundle carries one incident across that gap: the event, the already-redacted recording, and the contract version. Nothing else.
Export
pikopod incidents carries the exact line to run. For everything in a window, as a JSON array:
pikopod inspect prints.
Reproduce and fix from it
data_dir, and the file keeps working after the origin host’s retention has aged the incident out. The bundle records the export time, the origin host, and, when retention is configured, the time the origin will forget the incident.
Where this fits
In rough order of how often they apply:- Export a bundle when one developer needs one incident now.
- Commit the generated pack so the path is guarded forever with no recording at all.
- Share
data_dirread-only for a team that wants every incident. - Automate the export with
--since 24hin a cron job, attached to an issue or pull request.