Skip to content

feat: implement /health endpoint with database and Redis health checks - #623

Merged
Abdulazeem-code merged 1 commit into
Abdulazeem-code:mainfrom
marvelousufelix:feat/health-endpoint
Aug 29, 2026
Merged

feat: implement /health endpoint with database and Redis health checks#623
Abdulazeem-code merged 1 commit into
Abdulazeem-code:mainfrom
marvelousufelix:feat/health-endpoint

Conversation

@marvelousufelix

Copy link
Copy Markdown
Contributor
  • Replace duplicate /health endpoint implementations with single unified handler
  • Perform SELECT 1 database health check
  • Ping Redis if configured (optional)
  • Return 200 OK with { status: "UP", timestamp, database, redis } on success
  • Return 503 Service Unavailable when database is unreachable
  • Include correlation ID for error tracking and logging
  • Add ISO 8601 timestamp to response payload for monitoring systems
    closes Add a /health Endpoint for Automated Uptime Monitoring #16

- Replace duplicate /health endpoint implementations with single unified handler
- Perform SELECT 1 database health check
- Ping Redis if configured (optional)
- Return 200 OK with { status: "UP", timestamp, database, redis } on success
- Return 503 Service Unavailable when database is unreachable
- Include correlation ID for error tracking and logging
- Add ISO 8601 timestamp to response payload for monitoring systems
@vercel

vercel Bot commented Aug 29, 2026

Copy link
Copy Markdown

@marvelousufelix is attempting to deploy a commit to the Abdulazeem's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Abdulazeem-code
Abdulazeem-code merged commit cb4a7a8 into Abdulazeem-code:main Aug 29, 2026
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a /health Endpoint for Automated Uptime Monitoring

2 participants