v0.5.2
Real-Time Uptime Updates via WebSocket
Status page subscribers now receive live uptime-update events whenever monitor or group uptime values change.
When the background uptime updater recalculates uptime values (1h, 24h, 7d, 30d, 90d, 365d), it now compares against the previous values and broadcasts a WebSocket event to all subscribed status page clients if at least one value has changed. This applies to both monitors and groups.
New WebSocket Event:
{
"action": "uptime-update",
"data": {
"slug": "status",
"monitorId": "api-prod",
"uptime1h": 99.5,
"uptime24h": 98.2,
"uptime7d": 99.1,
"uptime30d": 99.8,
"uptime90d": 99.9,
"uptime365d": 99.95
},
"timestamp": "2025-01-15T10:30:00.000Z"
}All six uptime fields are always included when the event fires. For groups, monitorId contains the group ID.