Skip to content

feat: track and expose blockchain polling telemetry - #655

Merged
Abd-Standard merged 1 commit into
Core-Foundry:mainfrom
susanyusuf:fix/polling-telemetry-metrics
Sep 1, 2026
Merged

feat: track and expose blockchain polling telemetry#655
Abd-Standard merged 1 commit into
Core-Foundry:mainfrom
susanyusuf:fix/polling-telemetry-metrics

Conversation

@susanyusuf

Copy link
Copy Markdown
Contributor

Summary

Adds in-memory telemetry for blockchain polling cycles in the listener and exposes it through the existing health/diagnostic interface.

Changes

  • New \PollingMetrics\ collector (\listener/src/services/polling-metrics.ts) that records each poll cycle's duration and outcome (success/failure), with running totals, success rate, and recent durations.
  • \EventSubscriber\ now records every poll cycle into the collector — successful and failed cycles are recorded separately.
  • \NotificationHealthMonitor\ health report now includes a \polling\ section (via \GET /api/notifications/health) exposing the last successful/failed poll timestamp, last poll duration, outcome, and totals.

Issues closed

Closes #618
Closes #619
Closes #620

PR targets upstream \main.

@drips-wave

drips-wave Bot commented Aug 27, 2026

Copy link
Copy Markdown

@susanyusuf Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@susanyusuf
susanyusuf force-pushed the fix/polling-telemetry-metrics branch from 369aec5 to 1670cb3 Compare August 27, 2026 22:07
@Abd-Standard
Abd-Standard merged commit d91f225 into Core-Foundry:main Sep 1, 2026
1 of 9 checks passed
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.

Expose Last Successful Poll Timestamp Track Polling Cycle Duration Track Polling Cycle Duration

2 participants