aboutsummaryrefslogtreecommitdiff
path: root/internal/monitor
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-01-20 16:54:15 -0800
committerFuwn <[email protected]>2026-01-20 16:54:15 -0800
commitcb8e8a750a275b9fae116cd01210e0ec50f62b55 (patch)
tree5a8d985d706bd57cfaa3ee18c4bf8929f6895c71 /internal/monitor
parentfeat: Add new API endpoints (health, summary, uptime, incidents) (diff)
downloadkaze-cb8e8a750a275b9fae116cd01210e0ec50f62b55.tar.xz
kaze-cb8e8a750a275b9fae116cd01210e0ec50f62b55.zip
feat: Add SVG status badge endpoint
GET /api/badge/{name}.svg - Shields.io style status badges (always public) Options: - ?label=Custom - Override the label text (default: monitor name) - ?style=flat|plastic - Badge style (default: flat) - ?type=status|uptime - Show status or uptime percentage (default: status) Colors: - Green (#22c55e) for up / >=99% uptime - Yellow (#eab308) for degraded / >=95% uptime - Red (#ef4444) for down / <95% uptime - Gray (#9ca3af) for unknown Example: ![Status](https://status.example.com/api/badge/Website.svg)
Diffstat (limited to 'internal/monitor')
0 files changed, 0 insertions, 0 deletions