Commit Graph

18 Commits (eb449a335f512076f46715b508b293977af1840f)

Author SHA1 Message Date
LsM Lucas Martins eb449a335f feat: optional instant retry before marking a monitor down
Adds per-monitor `retries` and `retryDelayMs` options. When a check fails,
the monitor is re-checked up to `retries` extra times (waiting `retryDelayMs`
between attempts, default 5000ms) before being reported as down. This filters
out transient blips / false positives, and affects both the status page state
and downtime notifications.

Backward compatible: default `retries: 0` keeps the current behavior (no retry).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-23 18:10:07 -03:00
lyc8503 a5f65a7943 feat(worker): check all targets in parellel, reduces ~15% cpu time usage in test, also try to a fix rare race condition 2026-01-19 00:52:32 +08:00
KebenSun 5512912b22
fix(worker): omit Globalping ipVersion for IP targets (#177)
Globalping rejects measurementOptions.ipVersion when the measurement target is an IP address.
Add an IP-target guard so ipVersion is only sent for domain targets, preventing validation errors when checking IP:port monitors.
2026-01-17 02:00:49 +08:00
lyc8503 e050065a3c [WIP] workers works! (lol) pages+migration todo 2025-12-31 22:19:29 +08:00
lyc8503 51bf3be378 fix: always release response body, should fix issue #166 2025-12-24 00:03:18 +08:00
lyc8503 ee2d23f151 feat: add default UA 2025-11-06 01:02:29 +08:00
lyc8503 e757e1b970 Global ping as check proxy support (#147)
* WIP: http

* improve error handling

* tcp monitoring looks good

* fix globalping bugs and improve logs

* add globalping param

* looks good, add real call to globalping, todo fallback

* stupid JS, forgot bind this

* feat: add globalping city

* run prettier

* fix no magic

* fix missing country in TCP

* update config template
2025-10-29 22:18:39 +08:00
sususu98 7156fd83f2
fix(monitor): update import path for MonitorTarget (#120) 2025-06-24 10:20:31 +08:00
lyc8503 4bcf4173ea misc: run prettier 2025-04-19 21:50:43 +08:00
lyc8503 5203ef3d4b WIP: update packages 2025-04-12 22:20:33 +08:00
lyc8503 6a7effe668 WIP: check proxy on pages 2025-04-12 22:20:33 +08:00
lyc8503 fe9e2ae2e0 feat: forbidden keyword 2025-03-25 00:01:50 +08:00
lyc8503 0eb03ebfff use apprise for better notification & fix callback bug & improve log 2024-05-20 14:18:08 +08:00
lyc8503 50fb6a429b fix #28: ipv6 target parse fix 2024-05-19 16:35:06 +08:00
lyc8503 31a4d9345a use opened promise for tcp connection test 2024-01-30 13:28:30 +08:00
lyc8503 1e183247cf should fix #4: add a missing withTimeout 2024-01-06 20:17:13 +08:00
lyc8503 dfd78b9ca4 fix: tcp ping timeout latency 2023-12-08 15:40:13 +08:00
lyc8503 759a0f6159 feat: geo-specific check 2023-12-08 15:19:38 +08:00