Healthlane-Technologies / Zango

Django meta-framework for building enterprise-ready custom business applications 💼 ✨
https://zango.dev
Other
251 stars 54 forks source link

Alert on App Panel when Celery Server is Down #410

Open kc-diabeat opened 5 days ago

kc-diabeat commented 5 days ago

Background: App Panel relies on Celery server for processing a number of necessary tasks (e.g. App Launch), and if the Celery server is down, it can affect the usability of the App Panel as well as the developer application that might have packages relying on Celery for background jobs.

Proposed Solution:

  1. Implement Health Check:

    • Set up a health check endpoint or a periodic status check that can verify whether the Celery server is operational.
  2. Display Alert on App Panel:

    • If the health check fails, display a prominent alert on the app panel (either a banner or a notification icon) to inform users/admins of the issue.
    • Include a retry or refresh option in the alert to re-check the server status.
    • Include a link to the documentation on how to start/restart celery

Additional Context: Feel free to suggest improvements or additional checks for this process.


Acceptance Criteria:

Yadavanurag13 commented 12 hours ago

@kc-diabeat I would like to pick this issue.