Fintech
A payment fails at the gateway
A customer attempts to pay. The payment flows through checkout, fraud detection, and the gateway — then fails. Subscriptions fire notifications as part of the tree. Alerts monitor the broader pattern.
UOW a3f8c2d1billing-svc
fraud-svc
payment-gateway
stripe-api
→ customer via SendGrid
→ Slack #payments
→ AWS Lambda (auto-retry)
📨 nodes = subscription-triggered notifications (part of the UOW tree)
Metric Alerts — monitoring this workflow
PAYMENT/FAILED count > 5 in 2 minutes
→ PagerDuty on-call engineer
Daily revenue reaches $10,000 target
→ Slack #leadership
Payment success rate drops below 95%
→ Email → CFO + Slack #finance
Alerts evaluate metrics over time — they're not triggered by a single event but by patterns and thresholds.
Takeaway: Subscriptions react to individual events (email the customer, notify Slack, trigger a Lambda retry). Alerts watch the aggregate (failure rate, revenue targets). Both work together — different mechanisms, same data.