Parapet.Evidence.Archiver (parapet v1.0.0)

Copy Markdown View Source

Archives old, resolved incidents to a JSONL file and deletes them from the primary database.

Experimental

This module is experimental in v1.x. Its API may change in a minor release with a single-version notice in CHANGELOG.md. See Stability & Deprecation Policy for details.

Summary

Functions

archive(repo, path, retention_days)

@spec archive(module(), Path.t(), pos_integer()) :: {:ok, :ok}