Uptime Widget
Displays uptime history and response time graphs for a specific service.
Configuration
Data Displayed
- Uptime percentage
- Average latency
- Status history timeline
- Total check count
API Source
Data is fetched from /api/uptime?service_id=<url>&hours=<n>:
{
"service_id": "https://example.com",
"hours": 24,
"summary": {
"uptime_percent": 99.8,
"avg_latency": 145,
"total_checks": 288
},
"history": [
{ "timestamp": "...", "status": "up", "latency": 132, "response_code": 200 }
]
}