Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: Python package for /healthz API endpoints (Flask, Django)? (twitter.com/productaizery)
1 point by miraculixx on Sept 11, 2024 | hide | past | favorite | 2 comments


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


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: