Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Ask HN: Python package for /healthz API endpoints (Flask, Django)?
(opens in new tab)
(twitter.com)
1 points
miraculixx
1y ago
2 comments
Save
Share
2 comments
2 comments · 2 top-level
top
newest
oldest
bckr
1y ago
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
1y ago
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.
j
/
k
navigate · click thread line to collapse