Guides
Monitor a Firebase app
HTTP checks for Hosting, Cloud Function health endpoints, and scheduled job heartbeats.
1. Monitor Firebase Hosting
- Monitors → Website / API
- URL: your Firebase Hosting URL (
https://your-app.web.appor custom domain) - Interval: 1–5 minutes depending on plan
2. Cloud Function health endpoint
Export an HTTP function that returns 200:
exports.health = functions.https.onRequest((req, res) => {
res.status(200).json({ ok: true });
});Monitor: https://REGION-PROJECT.cloudfunctions.net/health
3. Scheduled jobs (Cloud Scheduler / Functions)
After your scheduled function succeeds, ping statusloop:
await fetch("https://app.statusloop.dev/ping/YOUR_SLUG", { method: "POST" });Create a healthcheck with matching period and grace period.
4. Firestore / Auth
statusloop cannot query Firestore directly. Expose a health HTTP endpoint that verifies Firestore read/write (or Auth token validation) and monitor that URL.
Alerts
Connect Slack or Discord and assign an escalation policy to your monitors and healthchecks.
Was this helpful?