diff --git a/uptime.config.ts b/uptime.config.ts index af5407a..9ebabc0 100644 --- a/uptime.config.ts +++ b/uptime.config.ts @@ -14,7 +14,7 @@ const pageConfig: PageConfig = { // Sections, in order. Every monitor below should appear in exactly one. group: { Cottage: ['website', 'dashboard'], - // 'Apps by region': ['apps-us-east'], // add back with the monitor below + 'Apps by region': ['apps-us-east'], }, } @@ -42,20 +42,19 @@ const workerConfig: WorkerConfig = { timeout: 10000, headers: { 'User-Agent': 'cottage-status (+https://status.cottage.host)' }, }, - // Not checked yet: no canary app runs on the node. Deploy one, then uncomment this - // and the 'Apps by region' group above. - // { - // // A small app Cottage runs for itself on the region's servers, so this checks the - // // whole path a customer's app takes: Cloudflare, the node's proxy and a running app. - // // TODO at launch: deploy the canary app and put its address here. - // id: 'apps-us-east', - // name: 'Apps in US East', - // tooltip: 'Customer apps hosted in Virginia', - // method: 'GET', - // target: 'https://status-canary-vin1.cottagehost.com/', - // timeout: 10000, - // headers: { 'User-Agent': 'cottage-status (+https://status.cottage.host)' }, - // }, + { + // A small app Cottage runs for itself on the region's servers (ntfy, "Status canary" on + // Cottage's own internal account), so this checks the whole path a customer's app takes: + // Cloudflare, the node's proxy, Harbor and a running container. + id: 'apps-us-east', + name: 'Apps in US East', + tooltip: 'Customer apps hosted in Virginia', + method: 'GET', + target: 'https://status-canary-m7ec.cottagehost.com/v1/health', + expectedCodes: [200], + timeout: 10000, + headers: { 'User-Agent': 'cottage-status (+https://status.cottage.host)' }, + }, ], // Alerts come from Grafana Cloud (hearth infra/monitoring). A webhook here could page too. }