Skip to content

fix(monitoring): probe timeout, dial timeouts, no-hash causes and maybe-broadcast alert - #172

Merged
thiras merged 2 commits into
mainfrom
fix/monitoring-batch
Oct 21, 2026
Merged

thiras merged 2 commits into
mainfrom
fix/monitoring-batch

Conversation

@thiras

@thiras thiras commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Batch fix for the open node-monitoring issues.

The maybe_broadcast counter (decdn#2574) is merged but not released: v0.2.0 does not export it. Until a release does, the rule and the panel series are silent, which #170 allows.

Checks run: make lint-helm (53 rules, promtool unit tests pass) and make lint. The live Grafana copies are not republished.

Closes #163, closes #164, closes #169, closes #170

🤖 Generated with Claude Code

…be-broadcast alert

- dashboard-node: the probe-collection text names the 1 s probe timeout
  (decdn#2533); the DHT panel adds decdn_dht_lookup_dial_timeouts_total
  beside the round timeouts (decdn#2532).
- Buyer-pool unresolved panel and DecdnBuyerTopupUnresolved comment name the
  already known / nonce too low / underpriced no-hash answers.
- New DecdnRedemptionMaybeBroadcast on decdn_onchain_tx_maybe_broadcast_total
  (decdn#2574), with a promtool test; the outcome panel adds the series and
  DecdnRedemptionFailing points at the new rule.

Closes #163, closes #164, closes #169, closes #170

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 21, 2026 15:19

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No blocking issues were identified, and the new alert remains silent when its metric is absent on older nodes.

No open issues 🎉

What changed in this PR

Updates deCDN monitoring to expose additional transaction and DHT failure signals and clarify operator guidance.

Changes:

  • Adds a maybe-broadcast redemption alert, dashboard series, and threshold tests.
  • Adds DHT dial timeouts and corrects probe-timeout guidance.
  • Documents additional no-hash causes for unresolved buyer transactions.
File Description
monitoring/​decdn-node/​prometheus-alerts.yml Adds redemption alert and updates explanatory text.
monitoring/​decdn-node/​prometheus-alerts_test.yml Tests firing and below-threshold behavior.
monitoring/​decdn-node/​dashboard-node.json Adds dial timeouts and corrects probe guidance.
monitoring/​decdn-node/​dashboard-chain.json Adds maybe-broadcast outcomes and clarifies unresolved transactions.
.claude/​skills/​grafana-dashboards/​SKILL.md Updates the documented alert count.

Review effort: Balanced

- Buyer-pool texts and the topUp rule comment: the three no-hash answers
  apply from the first decdn release after v0.2.0 (decdn#2560/#2563/#2571
  are not in v0.2.0); the panel names the seller-redemption nonce case.
- Drop the duplicate dial-timeout series from "DHT republish" and describe
  it in "DHT discovery and publishing".
- Redemption failures panel, outcome panel and the grace-close alert point
  at maybe broadcast / DecdnRedemptionMaybeBroadcast; the rule's description
  names the seller/buyer collision and the extrapolated threshold.
- Stronger promtool case: pins the for, the threshold on a running counter
  and a one-off burst; tested-rule lists updated; SKILL.md rule 4 carves out
  the unreleased counter until the pin leaves 0.2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@thiras
thiras merged commit 156bd37 into main Oct 21, 2026
17 checks passed
@thiras
thiras deleted the fix/monitoring-batch branch October 21, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants