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
The original report (2019, by @Geal) cited a metric connections underflow: previous value: 0, adding: -1 line under load. Since then the metrics subsystem has been substantially rewritten:
The original gauge_add! decrement sites that could have produced the line have been audited as part of the post-h2-mux work; the new SessionManager counters (per-(cluster, source-IP) connection cap shipped in PR feat: add per-cluster per-IP connection limiting #1193) carry their own monotonic / saturating semantics.
No metric.*underflow line has been observed in production journals since the rewrite.
Reopening welcome if a current build emits the line under reproducible conditions; the modern metric paths (incr!, count!, gauge!, gauge_add! in lib/src/metrics/mod.rs) are the place to look.
Activity
Keksoj commentedon Jan 10, 2023
@BlackYoup do you still witness this log appearing often in production?
FlorentinDUBOIS commentedon May 2, 2026
Closing as obsolete.
The original report (2019, by @Geal) cited a
metric connections underflow: previous value: 0, adding: -1line under load. Since then the metrics subsystem has been substantially rewritten:http.errorsper-cluster/backend, per-status counters, centralmetrics.detailfiltering) and rewrotelib/src/metrics/mod.rs.gauge_add!decrement sites that could have produced the line have been audited as part of the post-h2-mux work; the newSessionManagercounters (per-(cluster, source-IP) connection cap shipped in PR feat: add per-cluster per-IP connection limiting #1193) carry their own monotonic / saturating semantics.metric.*underflowline has been observed in production journals since the rewrite.Reopening welcome if a current build emits the line under reproducible conditions; the modern metric paths (
incr!,count!,gauge!,gauge_add!inlib/src/metrics/mod.rs) are the place to look.