Skip to main content

Module size_monitor

Module size_monitor 

Source
Expand description

Checkpoint size monitoring and alerting.

This module provides size monitoring for checkpoint files to detect and alert on checkpoints that approach or exceed size thresholds.

§Thresholds

  • Warning threshold: 1.5 MiB (log warning, continue operation)
  • Error threshold: 2 MiB (hard limit enforced by tests)

These thresholds are based on observed checkpoint sizes with bounded execution history (default 1000 entries ≈ 363 KB serialized).

Structs§

CheckpointSizeMonitor
Checkpoint size monitor.
SizeThresholds
Checkpoint size thresholds in bytes.

Enums§

SizeAlert
Alert level for checkpoint size.