Publish the status page without the apps check (#3)
No canary app runs on the node yet, so the Apps in US East monitor would show the page as down. It stays in the config, commented out, until one exists.
This commit is contained in:
1 parent
142ab1358e
commit
e9de6c5b69
2 files changed
+20
-21
No files matched your search
+15
-14
@@ -14,13 +14,12 @@ const pageConfig: PageConfig = {
|
||||
// Sections, in order. Every monitor below should appear in exactly one.
|
||||
group: {
|
||||
Cottage: ['website', 'dashboard'],
|
||||
'Apps by region': ['apps-us-east'],
|
||||
// 'Apps by region': ['apps-us-east'], // add back with the monitor below
|
||||
},
|
||||
}
|
||||
|
||||
const workerConfig: WorkerConfig = {
|
||||
// Checks run every minute from Cloudflare's network (the location nearest the worker).
|
||||
// The targets go live at launch; until then the page isn't deployed.
|
||||
monitors: [
|
||||
{
|
||||
id: 'website',
|
||||
@@ -43,18 +42,20 @@ const workerConfig: WorkerConfig = {
|
||||
timeout: 10000,
|
||||
headers: { 'User-Agent': 'cottage-status (+https://status.cottage.host)' },
|
||||
},
|
||||
{
|
||||
// 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)' },
|
||||
},
|
||||
// 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)' },
|
||||
// },
|
||||
],
|
||||
// Alerts come from Grafana Cloud (hearth infra/monitoring). A webhook here could page too.
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user