Skip to content

~91% of seller-leg stream failures have no reason counter #2073

Closed

Description

@thiras

On the live fleet, ~91% of seller-leg stream failures are claimed by no reason counter. Over 24h:

Series 24h
decdn_streams_failed_total{direction="inbound"} 327
decdn_serve_stream_rejected_cache_miss_total 14
decdn_serve_stream_rejected_internal_error_total 16
every other seller-leg reason counter 0
residual ~297

decdn_streams_failed_total's own doc says routine outcomes count here — "a cache miss refusal, a client that closes early, and the free header handshake a downstream node's miss pull opens and closes after the response" — and the last two have no reason counter by design. So a positive residual is expected and is not by itself a bug.

What is worth knowing is whether ~297/day is all of that, or whether a real failure mode is hiding inside it. Two things suggest at least some of it is not routine:

  • decdn_node_pull_through_client_abandoned_total is 26/24h, an order of magnitude below the residual, so client abandons on the pull-through path do not account for it.
  • decdn_client_idle_close_total is 0, so idle closes account for none of it.

Ask: either give the free header handshake and the early-client-close paths their own counters so the residual becomes a genuine "unknown" signal, or document the expected floor so an operator can tell a step change from the baseline.

#2071 adds an Unattributed stream failures panel to the overview and delivery dashboards that plots this residual, so a step change is now visible — but the baseline is currently uninterpretable, which is what this issue is about.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions