404human Projects Writing Build logs Learning Books Progress
Rust · Zola
zsh · 404human@dev:~ Tab complete · ↑↓ history · type help

Service Monitor build log M2 · 2.3

Checkpoint 2.3: evidence you can query

GET checks (missed rows included — gaps are part of the record) and GET incidents with filters, the dashboard detail page, and full CLI management verbs.

Published
Read time
1 min read
Kind
experiment
at a glance
Goal
The incident timeline and recent checks are visible through the API, the dashboard, and the CLI — success and coverage kept separate.
Built
GET /api/monitors/{id}/checks (missed rows included), GET /api/incidents with filters, the dashboard detail route, CLI show/edit/pause/unpause/delete.
Result
checks_and_incidents_endpoints_answer + detail page verified live · reordered views show evidence times, never re-sorted fiction
Code
akira-shirase-oss/monitoring-service · main @ eec162a

What changed: the evidence became queryable. GET /api/monitors/{id}/checks returns recent checks — missed rows included, because gaps are part of the record, not noise to filter. GET /api/incidents answers the incident timeline with filters. The dashboard grew a detail route showing the incident history alongside recent checks, and the CLI got the full management surface: show, edit, pause, unpause, delete.

Proof: checks_and_incidents_endpoints_answer plus the detail page exercised live — reordered views display evidence times, never re-sorted fiction.