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
relay: the EOSE histogram counts frames the sink refused, against its HELP line #1283
The EOSE histogram counts samples for frames the sink refused, and its HELP line says otherwise.
nostream_eose_duration_seconds's HELP reads "Time from REQ received to EOSE sent". The sample is taken immediately before FrameSink::send decides whether the frame fits (the site V13 pins and AC6 asserts), so an EOSE refused under frame-budget pressure — an empty result beside subscriptions that filled the budget — is counted as sent. The value is real, the unit is real, and the frame never reached the client.
Found by Greptile's review of #1282 (P2) and confirmed by reading the code. It was not fixed there because the remedy moves the sample across the sink boundary: FrameSink::send has to report admission, and V13's "immediately before the frame is queued" becomes "on admission" with AC6's frozen-clock case re-pinned to it. That is a change to a requirement plus the case that pins it, not a drive-by, so it wants its own row.
Either widen V13 and move the sample inside send's success path, or change the HELP line to say what it counts ("time from REQ received to EOSE admitted"), and add a case for the refused arm.
Activity