Page MenuHomePhabricator

Add better uptime monitoring
Open, Needs TriagePublic

Description

If we add an endpoint that reports the last export time and returns an error if it was more than x minutes ago, we can point uptimerobot to this instead of the homepage and get reports when ebook generation fails (as happened this morning when the disk filled up but the web server was still fine and so the homepage didn't shown an error). The last export time is stored in the database.

Criteria:

  • New end point at e.g. /uptime that returns a 5xx error when the last export was more than 15 minutes ago
  • Change the uptimerobot settings to point to this

Event Timeline

Restricted Application added a project: Community-Tech. · View Herald TranscriptSun, Nov 22, 12:30 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript