You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow users to configure outgoing webhooks and fine-grained alert rules, so that the platform can notify external systems (Slack, PagerDuty, custom HTTP endpoints, etc.) when specified events occur (e.g. workflow failures, long runtimes, success thresholds).
Motivation
Operational visibility – Teams need near-real-time awareness of critical events without polling the dashboard.
Incident response – Fast, automated routing of failures to on-call systems reduces MTTR.
Ecosystem integration – Webhooks unlock custom tooling and reporting beyond the core product.
Goals
UI & API for creating, listing, updating, and deleting webhook endpoints.
Allow users to configure outgoing webhooks and fine-grained alert rules, so that the platform can notify external systems (Slack, PagerDuty, custom HTTP endpoints, etc.) when specified events occur (e.g. workflow failures, long runtimes, success thresholds).
Motivation
Goals
Non-Goals
Proposed Design
Data Model
WebhookEndpointid,name,target_url,secret,headers,is_active,created_by,created_at, …AlertRuleid,name,event_type,condition,webhook_endpoint_id,is_active, …Control Flow (high-level)
flowchart TD A["Event emitted - e.g. WorkflowFailed"] --> B["Alert matcher"] subgraph Alert_Engine["Alert Engine"] B --> C{"Rules matching event_type?"} C -->|yes| D["Condition eval (optional)"] D -->|true| E["Enqueue delivery"] end E --> F["Delivery worker (retries, DLQ)"] F --> G["Webhook target (external)"]Delivery Semantics
X-Exosphere-Signature) using stored secret.API Endpoints (REST)
POST/v1/webhooksGET/v1/webhooksPATCH/v1/webhooks/{id}DELETE/v1/webhooks/{id}/v1/alert-rulesAcceptance Criteria
docs/exosphere/alerts.mdexplains setup & security.Engineering Tasks
webhook_endpoints&alert_rulestables.integration-tests/.Risks & Mitigations
Additional Notes