mirror of
https://github.com/tormachris/cf-workers-status-page.git
synced 2024-11-23 22:45:43 +01:00
Merge pull request #7 from eidam/e/change-defaults
chore(readme): change defaults and mention free tier
This commit is contained in:
commit
e92ec0c6ec
33
README.md
33
README.md
@ -12,6 +12,7 @@ You'll need a [Cloudflare Workers account](https://dash.cloudflare.com/sign-up/w
|
|||||||
|
|
||||||
* A workers domain set up
|
* A workers domain set up
|
||||||
* The Workers Bundled subscription \($5/mo\)
|
* The Workers Bundled subscription \($5/mo\)
|
||||||
|
* [Try it now with the free tier!](https://blog.cloudflare.com/workers-kv-free-tier/) Stay tuned while we make some changes so it will completely fit in the Free Tier with a 5min check interval.
|
||||||
* Some websites/APIs to watch 🙂
|
* Some websites/APIs to watch 🙂
|
||||||
|
|
||||||
Also, prepare the following secrets
|
Also, prepare the following secrets
|
||||||
@ -25,7 +26,7 @@ You can either deploy with **Cloudflare Deploy Button** using GitHub Actions or
|
|||||||
|
|
||||||
### Deploy with Cloudflare Deploy Button
|
### Deploy with Cloudflare Deploy Button
|
||||||
|
|
||||||
[![Deploy to Cloudflare Workers](https://camo.githubusercontent.com/1f3d0b4d44a2c3f12c78bd02bae907169430e04d728006db9f97a4befa64c886/68747470733a2f2f6465706c6f792e776f726b6572732e636c6f7564666c6172652e636f6d2f627574746f6e3f706169643d74727565)](https://deploy.workers.cloudflare.com/?url=https://github.com/eidam/cf-workers-status-page&paid=true)
|
[![Deploy to Cloudflare Workers](https://camo.githubusercontent.com/1f3d0b4d44a2c3f12c78bd02bae907169430e04d728006db9f97a4befa64c886/68747470733a2f2f6465706c6f792e776f726b6572732e636c6f7564666c6172652e636f6d2f627574746f6e3f706169643d74727565)](https://deploy.workers.cloudflare.com/?url=https://github.com/eidam/cf-workers-status-page)
|
||||||
|
|
||||||
1. Click the button and follow the instructions, you should end up with a clone of this repository
|
1. Click the button and follow the instructions, you should end up with a clone of this repository
|
||||||
2. Navigate to your new **GitHub repository > Settings > Secrets** and add the following secrets:
|
2. Navigate to your new **GitHub repository > Settings > Secrets** and add the following secrets:
|
||||||
@ -43,27 +44,27 @@ You can either deploy with **Cloudflare Deploy Button** using GitHub Actions or
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
settings:
|
settings:
|
||||||
title: "Status Page"
|
title: 'Status Page'
|
||||||
url: "https://status-page.eidam.dev" # used for Slack messages
|
url: 'https://status-page.eidam.dev' # used for Slack messages
|
||||||
logo: logo-192x192.png # image in ./public/ folder
|
logo: logo-192x192.png # image in ./public/ folder
|
||||||
daysInHistogram: 90 # number of days you want to display in histogram
|
daysInHistogram: 90 # number of days you want to display in histogram
|
||||||
|
|
||||||
# configurable texts across the status page
|
# configurable texts across the status page
|
||||||
allmonitorsOperational: "All Systems Operational"
|
allmonitorsOperational: 'All Systems Operational'
|
||||||
notAllmonitorsOperational: "Not All Systems Operational"
|
notAllmonitorsOperational: 'Not All Systems Operational'
|
||||||
monitorLabelOperational: "Operational"
|
monitorLabelOperational: 'Operational'
|
||||||
monitorLabelNotOperational: "Not Operational"
|
monitorLabelNotOperational: 'Not Operational'
|
||||||
monitorLabelNoData: "No data"
|
monitorLabelNoData: 'No data'
|
||||||
dayInHistogramNoData: "No data"
|
dayInHistogramNoData: 'No data'
|
||||||
dayInHistogramOperational: "All good"
|
dayInHistogramOperational: 'All good'
|
||||||
dayInHistogramNotOperational: "Some checks failed"
|
dayInHistogramNotOperational: 'Some checks failed'
|
||||||
|
|
||||||
# list of monitors
|
# list of monitors
|
||||||
monitors:
|
monitors:
|
||||||
- id: status-page-eidam-dev # unique identifier
|
- id: workers-cloudflare-com # unique identifier
|
||||||
name: Eidam's Status Page
|
name: workers.cloudflare.com
|
||||||
description: 'https://status-page.eidam.dev' # default=empty
|
description: 'You write code. They handle the rest.' # default=empty
|
||||||
url: 'https://status-page.eidam.dev/' # URL to fetch
|
url: 'https://workers.cloudflare.com/' # URL to fetch
|
||||||
method: GET # default=GET
|
method: GET # default=GET
|
||||||
expectStatus: 200 # operational status, default=200
|
expectStatus: 200 # operational status, default=200
|
||||||
followRedirect: false # should fetch follow redirects, default=false
|
followRedirect: false # should fetch follow redirects, default=false
|
||||||
@ -91,4 +92,4 @@ You can clone the repository yourself and use Wrangler CLI to develop/deploy, ex
|
|||||||
|
|
||||||
* **KV replication lag** - You might get Slack notification instantly, however it may take couple of more seconds to see the change on your status page as [Cron Triggers are usually running on underutilized quiet hours machines](https://blog.cloudflare.com/introducing-cron-triggers-for-cloudflare-workers/#how-are-you-able-to-offer-this-feature-at-no-additional-cost).
|
* **KV replication lag** - You might get Slack notification instantly, however it may take couple of more seconds to see the change on your status page as [Cron Triggers are usually running on underutilized quiet hours machines](https://blog.cloudflare.com/introducing-cron-triggers-for-cloudflare-workers/#how-are-you-able-to-offer-this-feature-at-no-additional-cost).
|
||||||
|
|
||||||
* **Initial delay (no data)** - It takes couple of minutes to schedule and run CRON Triggers for the first time
|
* **Initial delay (no data)** - It takes couple of minutes to schedule and run CRON Triggers for the first time
|
||||||
|
49
config.yaml
49
config.yaml
@ -1,37 +1,36 @@
|
|||||||
settings:
|
settings:
|
||||||
title: "Status Page"
|
title: 'Status Page'
|
||||||
url: "https://status-page.eidam.dev" # used for Slack messages
|
url: 'https://status-page.eidam.dev' # used for Slack messages
|
||||||
logo: logo-192x192.png # image in ./public/ folder
|
logo: logo-192x192.png # image in ./public/ folder
|
||||||
daysInHistogram: 90 # number of days you want to display in histogram
|
daysInHistogram: 90 # number of days you want to display in histogram
|
||||||
|
|
||||||
allmonitorsOperational: "All Systems Operational"
|
allmonitorsOperational: 'All Systems Operational'
|
||||||
notAllmonitorsOperational: "Not All Systems Operational"
|
notAllmonitorsOperational: 'Not All Systems Operational'
|
||||||
monitorLabelOperational: "Operational"
|
monitorLabelOperational: 'Operational'
|
||||||
monitorLabelNotOperational: "Not Operational"
|
monitorLabelNotOperational: 'Not Operational'
|
||||||
monitorLabelNoData: "No data"
|
monitorLabelNoData: 'No data'
|
||||||
dayInHistogramNoData: "No data"
|
dayInHistogramNoData: 'No data'
|
||||||
dayInHistogramOperational: "All good"
|
dayInHistogramOperational: 'All good'
|
||||||
dayInHistogramNotOperational: "Some checks failed"
|
dayInHistogramNotOperational: 'Some checks failed'
|
||||||
|
|
||||||
monitors:
|
monitors:
|
||||||
- id: status-page-eidam-dev # unique identifier
|
- id: workers-cloudflare-com # unique identifier
|
||||||
name: Eidam's Status Page
|
name: workers.cloudflare.com
|
||||||
description: 'https://status-page.eidam.dev' # default=empty
|
description: 'You write code. They handle the rest.' # default=empty
|
||||||
url: 'https://status-page.eidam.dev/' # URL to fetch
|
url: 'https://workers.cloudflare.com/' # URL to fetch
|
||||||
method: GET # default=GET
|
method: GET # default=GET
|
||||||
expectStatus: 200 # operational status, default=200
|
expectStatus: 200 # operational status, default=200
|
||||||
followRedirect: false # should fetch follow redirects, default=false
|
followRedirect: false # should fetch follow redirects, default=false
|
||||||
|
|
||||||
- id: cf-workers-status-page
|
- id: www-cloudflare-com
|
||||||
name: Github.com Cloudflare Workers Status Page
|
name: www.cloudflare.com
|
||||||
description: Is the Github repository public?
|
description: 'Built for anything connected to the Internet.'
|
||||||
url: 'https://github.com/eidam/cf-workers-status-page'
|
url: 'https://github.com/eidam/cf-workers-status-page'
|
||||||
method: GET
|
method: GET
|
||||||
expectStatus: 200
|
expectStatus: 200
|
||||||
|
|
||||||
- id: eidam-dev
|
- id: blog-cloudflare-com
|
||||||
name: Eidam.dev (403)
|
name: The Cloudflare Blog
|
||||||
description: 'Eidam.dev homepage, there is none'
|
url: 'https://blog.cloudflare.com/'
|
||||||
url: 'https://eidam.dev'
|
|
||||||
method: GET
|
method: GET
|
||||||
expectStatus: 403
|
expectStatus: 200
|
||||||
|
Loading…
Reference in New Issue
Block a user