Commit Graph

28 Commits

Author SHA1 Message Date
corvofeng 7813ff93ac Replace all '-' for monitor name.
Signed-off-by: corvofeng <corvofeng@gmail.com>
2022-02-15 22:08:15 +00:00
Chris Buckley 596d30389f Increment failed checks at least once
Currently, a failure is only recorded if a monitor transitions from operational
to not in a given day. If the monitor is non-operational at the start of the day,
or remains non-operational for a full day, the failure will not be recorded.
2021-11-18 11:22:15 +00:00
Chris Buckley 1189e708da Supply fallback text for Slack message
This is used as a plain-text summary of the attachment, e.g. in push notifications.

Docs: https://api.slack.com/reference/messaging/attachments#legacy_fields
2021-10-11 14:21:30 +01:00
Chris Buckley f0b27a8446 Add more data centre locations
The full list of locations was generated from the [Cloudflare Status Page](https://www.cloudflarestatus.com/):

```bash
{
  echo 'export const locations = {';
  curl -ks https://www.cloudflarestatus.com/ | grep -- '- (' | while read line; do
    code=$(awk -F '[()]' '{print $2}' <<< "$line");
    city=$(awk -F '[,-]' '{print $1}' <<< "$line");
    echo "  $code: '${city//\'/’}',";
  done | sort;
  echo '}';
} > src/functions/locations.js
```
2021-10-11 14:13:49 +01:00
Marcello Bachechi 23673587c2 Update monitorCard.js 2021-07-23 09:19:34 +02:00
Anthony Graignic ccec34ff5d
Add Discord notification (#35)
add discord notification
2021-02-23 13:32:08 +01:00
endriu3314 ee586c9e64 Add focus ring and remove default focus outline 2021-01-29 18:33:26 +01:00
Adam Janiš 6952ed2e8d feat: show city also in header 2021-01-19 00:32:31 +01:00
Adam Janiš 6d08f47d1d feat: collect avg response time by default 2021-01-19 00:22:20 +01:00
Alex c90ee97d3a chore: make monitor title link to the monitored url 2020-11-23 09:05:01 +01:00
Adam Janis 3ed15409b5 chore: readme collectResponseTimes example 2020-11-22 15:40:28 +01:00
kolaente a41f9d28c1
feat: telegram notifications 2020-11-22 15:29:22 +01:00
Adam Janis 5a086f5ad0 fix: prevent histogram render error on initial no data state 2020-11-22 13:12:31 +01:00
Adam Janis 7051f275e7 feat: collect response metrics from cron locations 2020-11-22 12:42:33 +01:00
Alex fb134bbf74 refactor: switch css framework to tailwind 2020-11-21 12:16:25 +01:00
Adam Janis c5b9232eb2 feat: optimize KV storage read/write operations
- the state is now stored in a single KV key
- there is one write for cron and one read for render
2020-11-19 20:25:03 +01:00
Adam Janis fe1b63424d feat: move gc monitors from cron schedule to deploy postCommands 2020-11-19 14:01:07 +01:00
Hugo Romano 01c058ed1b
PoP location detection 2020-11-17 15:35:49 +00:00
Alex e2c6a6a538 feat: add monitor filter field 2020-11-17 12:55:53 +01:00
Alex 61f788df1f refactor: move status header to its own component 2020-11-16 22:59:32 +01:00
Adam Janis c33beabef6 feat(cron): detect and save location of last check 2020-11-15 15:56:01 +01:00
Adam Janis 359595b3b3 chore(wrangler): cleanup 2020-11-15 00:35:47 +01:00
Adam Janis b308d19b2c fix(actions): let deployment pass on missing slack webhook 2020-11-14 17:29:07 +01:00
Adam Janis d1ec750702 chore(index): update links 2020-11-14 02:57:28 +01:00
Adam Janis e305cede8f fix(gc): wait for gc to complete before exiting cron trigger 2020-11-14 02:37:42 +01:00
Adam Janis 541bdace4b chore(perf): save only failed days to KV storage 2020-11-12 18:57:42 +01:00
Adam Janis c3af9db11a chore(perf): save only failed days to KV storage 2020-11-11 23:51:04 +01:00
Adam Janis e85c5766a7 init 2020-11-08 22:36:21 +01:00