Skip to content

Add Bee node connectivity tracking and fix false 0-balance alerts#211

Open
crtahlin wants to merge 2 commits into
devfrom
feature/bee-connectivity-metrics
Open

Add Bee node connectivity tracking and fix false 0-balance alerts#211
crtahlin wants to merge 2 commits into
devfrom
feature/bee-connectivity-metrics

Conversation

@crtahlin
Copy link
Copy Markdown

Summary

  • Add gateway_bee_poll_total{status} counter tracking success/error rate of balance polling
  • Fix false 0-balance Telegram alerts: keep last known gauge value when Bee node returns error
  • Dashboard v8: added Bee Node Connectivity and Bee API Errors (cumulative) panels

Root cause of false alerts

When the Bee node is temporarily unreachable, the preflight check functions return balance=0. The metrics poller was setting gauges to 0, which triggered Telegram alerts for empty wallets. Now it only updates gauges when the response is valid.

- Add gateway_bee_poll_total counter (success/error) to track Bee node
  reachability over time
- Fix false 0-balance alerts: only update gauges when API returns valid
  data, keep last known value on failure
- Dashboard: Bee Node Connectivity and Bee API Errors panels added
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant