Skip to content

feat(admin): add webhook delivery monitor endpoint#566

Merged
greatest0fallt1me merged 1 commit into
CalloraOrg:mainfrom
Oyinkans0la12:feature/webhook-monitor
Jun 28, 2026
Merged

feat(admin): add webhook delivery monitor endpoint#566
greatest0fallt1me merged 1 commit into
CalloraOrg:mainfrom
Oyinkans0la12:feature/webhook-monitor

Conversation

@Oyinkans0la12

Copy link
Copy Markdown
Contributor

Closes #474

Summary

Add an admin-only webhook monitoring endpoint that exposes recent failed deliveries, current DLQ depth, and per-subscription delivery statistics.

Changes

  • Added GET /api/admin/webhooks/monitor
  • Added webhookMonitor service
  • Returned the last 100 failed deliveries
  • Added current DLQ depth reporting
  • Added per-subscription statistics
  • Protected the endpoint with existing admin authorization
  • Added focused test coverage

Security

  • Endpoint is restricted to administrators.
  • Uses the project's existing authentication and authorization middleware.
  • Returns operational monitoring data only and avoids exposing sensitive webhook information.

Testing

Covered:

  • Admin access
  • Unauthorized access
  • Last-100 failure limit
  • Accurate DLQ depth
  • Per-subscription statistics
  • Empty dataset
  • Standardized error responses

Validation

Executed the repository's standard linting and test suite successfully.

Scope

This PR intentionally focuses only on adding the webhook monitoring endpoint and does not redesign webhook delivery, retry behavior, DLQ implementation, authentication, or monitoring architecture.

@drips-wave

drips-wave Bot commented Jun 28, 2026

Copy link
Copy Markdown

@Oyinkans0la12 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

@GBOYEE

GBOYEE commented Jun 28, 2026

Copy link
Copy Markdown

@GBOYEE has applied to work on this issue as part of the Stellar Wave Program's 6th wave.

Implement following existing patterns and conventions. Add tests, ensure CI passes, and document any new API surface.

ℹ️ Repo Maintainers: To accept this application, review their application or assign @GBOYEE to this issue.

@greatest0fallt1me greatest0fallt1me merged commit a959622 into CalloraOrg:main Jun 28, 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.

Add a webhook delivery monitor endpoint listing recent failures and DLQ items

3 participants