Monitoring
Health Endpoints
Section titled “Health Endpoints”html2rss-web exposes these health endpoints:
GET /api/v1/health/live: liveness probe, no authGET /api/v1/health/ready: readiness probe, no authGET /api/v1/health: authenticated health probe, bearer token required
Authenticated Health Checks
Section titled “Authenticated Health Checks”Use GET /api/v1/health when you want an authenticated operator-facing probe.
Set the environment variable HEALTH_CHECK_TOKEN, then send it as a bearer token:
curl -H "Authorization: Bearer $HEALTH_CHECK_TOKEN" http://localhost:4000/api/v1/healthThe response is JSON and reports the current status, timestamp, environment, uptime, and reserved checks payload.
Probe Selection
Section titled “Probe Selection”- Use
/api/v1/health/livefor a simple process-alive signal. - Use
/api/v1/health/readyfor config-readiness checks without auth. - Use
/api/v1/healthfor authenticated monitoring from your uptime system or operator tooling.
Application Performance Monitoring using Sentry
Section titled “Application Performance Monitoring using Sentry”When you specify SENTRY_DSN in your environment variables, the application will be setup to use Sentry.