@radzor/uptime-monitor
Monitor URL uptime with configurable check intervals, latency tracking, and status change alerts. Supports multiple targets, pause/resume, and downtime history. Zero dependencies — uses raw fetch.
Install
View source on GitHub →Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| intervalMs | number | 60000 | Default check interval in milliseconds. |
| timeout | number | 10000 | HTTP request timeout in milliseconds per check. |
| latencyThresholdMs | number | 2000 | Latency threshold in ms; exceeding it fires onLatencySpike. |
| headers | Record<string, string> | — | Default HTTP headers sent with each check request. |
Default check interval in milliseconds.
default: 60000
HTTP request timeout in milliseconds per check.