Repository navigation
Implementation of alert and thershold. - #16
Conversation
ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Free Run ID: 📒 Files selected for processing (9)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. WalkthroughThe change adds Chargebee alert bootstrapping, webhook synchronization, Redis-backed alarm storage, an alert status API route, and active alarm rendering on the usage page. It also adds worker logging support. ChangesChargebee alert monitoring
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant Chargebee
participant ChargebeeWebhookProcessor
participant processAlertWebhook
participant RedisAlarmStorage
Chargebee->>ChargebeeWebhookProcessor: alert_status_changed webhook
ChargebeeWebhookProcessor->>processAlertWebhook: process alert event
processAlertWebhook->>RedisAlarmStorage: persist active or resolved alarm
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Essentials by visiting https://app.coderabbit.ai/settings/billing. Comment |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Summary by CodeRabbit
New Features
Bug Fixes