You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
3.x.x: Record the metrics collector's own cancelled pool acquisitions #337
the collector (src/metrics/collectors.rs) sits inside a 3 second tokio::time::timeout and records only on completion, so an acquisition cancelled at 3 seconds records nothing.
The collector's behaviour is documented and defensible: its cancellation is represented by collector availability rather than a fabricated duration. But inside one series, the same event now means different things depending on which producer saw it.
Proposed change
Give the collector the same drop guard the ledger uses, so a cancelled acquisition records failure with its elapsed wait, and update the inventory text that currently describes the collector as recording only completed attempts.
This is a src/metrics/ change, owned by workstream B, which is why #328 did not make it.
Completed via #345, merged into 3.x.x as b8b72f8. Cancelled collector pool acquisitions record exactly once with elapsed wait; error/deadline and availability contracts remain unchanged. Independent reviews, required disposable PostgreSQL regression and all15 CI checks passed on final reviewed head1a87dd2. Optional shared-timer consolidation is explicitly deferred; alert suppression behavior remains separately tracked in #336.
Activity
djh58 commentedon Sep 14, 2026
Completed via #345, merged into 3.x.x as b8b72f8. Cancelled collector pool acquisitions record exactly once with elapsed wait; error/deadline and availability contracts remain unchanged. Independent reviews, required disposable PostgreSQL regression and all15 CI checks passed on final reviewed head1a87dd2. Optional shared-timer consolidation is explicitly deferred; alert suppression behavior remains separately tracked in #336.