Monitoring

Use the detailed health endpoint for uptime monitoring:

  • Production health URL: https://api.hempdata.io/v1/health
  • Railway fallback URL: https://hempdata-api-production.up.railway.app/v1/health

Recommended UptimeRobot configuration:

  • Monitor type: HTTP(s)
  • Friendly name: HempData API Health
  • URL: https://api.hempdata.io/v1/health
  • Check interval: 5 minutes
  • Keyword check: "status":"healthy"

The /v1/health payload now checks:

  • PostgreSQL connectivity
  • Redis connectivity
  • Stripe API reachability
  • Scraper freshness timestamps

If the custom domain is unavailable, temporarily point the monitor at the Railway fallback URL until DNS is corrected.