Skip to content

monitoring: account for decdn_serve_stream_midstream_pool_closed_total on the decdn-node dashboards #206

Open

Description

@yigitdot

decdn/decdn#2812 (for decdn/decdn#2805) adds one node counter and removes one:

  • decdn_serve_stream_midstream_pool_closed_total (new) — a paying stream this node stopped mid-delivery because its pool closed, or is Closing with its dispute deadline inside the node's redeem margin (one redeem interval + 120 s). The wire reason is PoolExhausted, so clients see the same stop as a drained pool. This counter separates the two. It is a new entry in INBOUND_FAILURE_REASONS.
  • decdn_serve_pool_recheck_skipped_total (removed) — added in fix(node): count a skipped mid-stream pool re-check and test the serve-miss PoolExhausted stop decdn#2789 and shipped in v0.3.1. Nodes on v0.3.1 still export it, and nodes on the release after #2812 do not. Drop any panel or query on it once the fleet has upgraded.

To do:

  • "Unattributed stream failures" in monitoring/decdn-node/dashboard-delivery.json and monitoring/decdn-node/grafana-dashboard.json: subtract decdn_serve_stream_midstream_pool_closed_total, or these stops show as unattributed.
  • Add the new reason beside decdn_serve_stream_midstream_pool_exhausted_total in the mid-stream stop panel(s).
  • Optional: a panel for the pool-closed rate. A burst means a pool owner closed a pool under live streams. That is normal, and the owner opens a new pool. A steady non-zero rate with no closes on chain points at a projection bug.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions