feat: show monitor editors what the checker saw

The API keeps the latest success per monitor and region and failures,
thinned to one per five minutes while the error stays the same, for
UPTIME_RETENTION_EVIDENCE (30 days). Monitor pages link evidence from
the recent checks; a page shows timing, redirect chain with headers,
certificate and the body as text. Readers see none of it, since
responses may contain personal data or secrets.

Closes #79

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
Sebastian UnterschützandClaude Opus 5.5 committed 2026-11-22 12:09:42 +01:00
1 parent 8f5eb5d075
commit 126d3a2fce
16 files changed
+3026 -1054

No files matched your search

+1
View File
@@ -252,6 +252,7 @@ func (s *Server) agentResults(c *gin.Context) {
return
}
s.evaluateResults(ctx, region, accepted, monitors)
s.storeEvidence(ctx, region, instance, accepted, monitors)
c.Status(http.StatusNoContent)
}