12. Health Checks
Chapter 12 of 18 · 15 min
EXERCISE
Add a custom health check that verifies an OpenAI-compatible API endpoint responds within acceptable latency. Include the check results in the readiness endpoint and return unhealthy status when the external API exceeds 500ms.