Skip to content

feat: implement subscription contract monitoring and alerting#268

Merged
Smartdevs17 merged 3 commits into
mainfrom
feat/monitoring-alerting-229-fixed
Apr 22, 2026
Merged

feat: implement subscription contract monitoring and alerting#268
Smartdevs17 merged 3 commits into
mainfrom
feat/monitoring-alerting-229-fixed

Conversation

@Smartdevs17
Copy link
Copy Markdown
Owner

Closes #229

senmalong and others added 3 commits April 22, 2026 15:47
- Add TransactionEvent, Metric, Alert, AlertRule, DashboardSnapshot types (backend/services/types.ts)
- Add MonitoringService: transaction ingestion, metric computation, anomaly detection with built-in high-failure-rate and gas-spike rules, custom rule support, alert deduplication, dashboard snapshot (backend/services/monitoring.ts)
- Add AlertingService: pluggable channel dispatchers for Slack, PagerDuty, and console; idempotent dispatch; dispatchAll skips resolved alerts (backend/services/alerting.ts)
- Add 19 passing tests covering all monitoring and alerting scenarios (backend/services/__tests__/)
@Smartdevs17 Smartdevs17 merged commit d46ca19 into main Apr 22, 2026
2 of 13 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.

Implement subscription contract monitoring and alerting

2 participants