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
node: decdn_bytes_served_total appears to count ~2.3× the bytes the client legs deliver #2619
Noted while building the public gateway (#2593 series), to confirm and fix.
Observation. The node's decdn_bytes_served_total appears to rise by about 2.3× the bytes the client legs actually delivered during the gateway e2e journeys (crates/e2e/tests/gateway_public.rs: six 4 MiB pulls plus a 1.5 MiB range; the gateway's own decdn_gateway_bytes_served_total counts the delivered bytes exactly).
Ask. Reproduce by running the gateway_public e2e (cargo nextest run -p decdn-e2e --features anvil-e2e -E 'binary(gateway_public)') with the node's metrics scraped before and after, and compare against the gateway's counter. Candidate causes: the counter adding bao proof bytes and chunk-group padding to payload bytes, counting per lane across stripes, or counting retried legs twice. Decide what the series means (wire bytes vs payload bytes) in adr/appendix-observability.md, make the node export both if operators need both, and add an e2e assertion that pins the ratio.
Why. Operator dashboards and the per-MB economics notebooks read this series as delivered payload.
Activity
fix(client): take a pinned pull's size from a probe, not a dropped st…