Skip to content

Fix false 0-balance alerts#209

Closed
crtahlin wants to merge 1 commit into
mainfrom
dev
Closed

Fix false 0-balance alerts#209
crtahlin wants to merge 1 commit into
mainfrom
dev

Conversation

@crtahlin
Copy link
Copy Markdown

Keep last known gauge value on Bee node failure.

…#208)

When the Bee node is temporarily unreachable, preflight checks return
balance_bzz=0. The metrics poller was setting gauges to 0, triggering
false Telegram alerts. Now only updates gauges when the API returns a
valid response (ok=true or balance > 0). On failure, the gauge keeps
its last known value — no false alert.
@crtahlin crtahlin closed this Apr 17, 2026
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