Check apps in US East through the status canary (#4)
This commit is contained in:
1 parent
e9de6c5b69
commit
035d23d1e3
2 files changed
+15
-16
No files matched your search
@@ -32,7 +32,7 @@ Without a D1 database, `npm run dev` shows sample data (`dev/sample.ts`). Add `?
|
||||
|
||||
Live at status.cottage.host. A push to `main` deploys it through the "Deploy to Cloudflare" workflow, which runs only while the repository variable `CLOUDFLARE_DEPLOY` is `true`. It uses the Actions secrets `CLOUDFLARE_API_TOKEN` (Workers Scripts, D1 and Cloudflare Pages edit on the Cottage account) and `CLOUDFLARE_ACCOUNT_ID`.
|
||||
|
||||
The "Apps in US East" check is commented out in `uptime.config.ts` until a canary app runs on the node. Once one does, put its address in the `apps-us-east` monitor and uncomment it and its group.
|
||||
The "Apps in US East" check loads the health endpoint of a status canary: a small ntfy app Cottage runs on its own (internal, unbilled) account on the Virginia servers. A new region gets its own canary and monitor.
|
||||
|
||||
Cottage's footer status ("All systems normal") can read `/api/data`, which returns the current state as JSON.
|
||||
|
||||
|
||||
Reference in new issue
Block a user