Task · TSO-0060

WAL fill-percentage gauge and shipped alert

Description

ingresswal Health reports absolute PendingBytes/PendingEntries; a full WAL fails requests closed with 503 but nothing warns at 80% full. Derive percent-of-capacity self-obs gauges from the configured limits, catalogue them, surface on the health dashboard Ingestion tab, and ship a ts2o alert rule (warning threshold before the cliff) in deploy/alerts/gen.

Acceptance Criteria

Definition of Done

Implementation Notes

Integration deviation: the lane added separate WAL entry-fill and byte-fill panels, but that exceeded the frozen 35-panel leaf ceiling. Root consolidated both series into one WAL capacity panel, preserving both metrics and their alert links without weakening the panel-budget guard. W1 full gate passed.

Latitude deviation: the run contract called for one commit per feature, but root retained the already-integrated shared-tree feature commit fa6a465 plus review-fix commit a18a5dd rather than performing prohibited destructive history surgery after integration and push. All task evidence is tied to the verified implementation head a18a5dd06f9ac9c8b84fda73bba653ded2398d5a.

Final Summary

Added bounded WAL fill-percentage telemetry and its generated paused guidance alert/panel surfaces. Verified by WAL telemetry tests, generated rule execution and drift guards, real rule push/readback, final just check, and exact-head CI run 33322449434 at a18a5dd06f9ac9c8b84fda73bba653ded2398d5a (success).

View the source file on GitHub