Skip to content

Alert and panel for decdn_onchain_tx_maybe_broadcast_total (redeemMany send failed with no tx hash) #170

Closed

Description

@thiras

Problem

decdn/decdn#2574 (fixes decdn/decdn#2568) adds decdn_onchain_tx_maybe_broadcast_total. It counts a redeemMany whose send failed with no tx hash but may have broadcast:

  • the send request timed out, reset or got an HTTP 5xx;
  • or the RPC answered already known, nonce too low or replacement transaction underpriced.

Before that PR, these sends counted into decdn_redemption_failures_total, which DecdnRedemptionFailing watches. After it, they count only into the new counter, which no alert or panel reads. So these failures stop all redemptions and nothing alerts:

The first signal would then be DecdnPoolGraceCloseWithUnredeemed, which fires only once a pool owner starts a close.

Fix

The counter ships in the first decdn release after decdn/decdn#2574 merges. Once it is out:

  1. Alert. Add a separate rule shaped like DecdnRedemptionFailing, for example increase(decdn_onchain_tx_maybe_broadcast_total[30m]) > 2 with for: 30m.
    • Do not fold the counter into DecdnOnchainTxUnconfirmed. That rule is for: 0m / > 0, and a node's seller and buyer services share one key, so a harmless seller/buyer nonce collision gives these same answers and would page. Its runbook also says to look the transaction up by hash, and these sends have no hash.
    • Suggested description: the send failed with no tx hash; check the RPC's eth_sendRawTransaction health and compare cast nonce <operator> --block pending with --block latest; read the redeemMany send failed with no tx hash warn lines.
  2. Dashboard. Add the series to the on-chain tx outcome panel in monitoring/decdn-node/dashboard-chain.json, next to send_failed, so the outcome family adds up again. It has six counters now: landed, reverted, send_failed, maybe_broadcast, receipt_failed and timeout.
  3. Runbook text. Update the DecdnRedemptionFailing description so it names the new alert, the same way it already points at DecdnOnchainTxUnconfirmed.

Done when

  • The alert and the panel exist, and promtool check rules passes.
  • They land after a decdn release that exports the counter, or the alert tolerates the series being absent on older nodes.

Activity

  1. added
    enhancement
    on Oct 21, 2026
  2. self-assigned this
    on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions