HACKER Q&A
📣 miraculixx

Python package for /healthz API endpoints (Flask, Django)?


Python package for /healthz API endpoints (Flask, Django)?


  👤 bckr Accepted Answer ✓
This seems like it answers its own question. In Flask or Django you add a route that does some health checks. I don’t understand what this is asking.

Ask HN shouldn’t link out


👤 odie5533
Note that you probably should not add database checking in a health endpoint because it can cause a cascading failure where all your services then restart when the issue is just the database service.