WIP: Chapter 5 monitoring deployment and measured recovery evidence #4

Draft
sespinal wants to merge 26 commits from chapter5-sre-monitoring into main
3 changed files with 38 additions and 13 deletions
Showing only changes of commit 8e20b016ce - Show all commits
+18 -13
View File
@@ -276,8 +276,12 @@ uses a 30-second group interval and four-hour repeat interval. Resolved messages
are enabled. The webhook is stored only in server-local provisioning. The are enabled. The webhook is stored only in server-local provisioning. The
contact test succeeded, and Sergio confirmed its receipt, then confirmed contact test succeeded, and Sergio confirmed its receipt, then confirmed
receipt of both real firing and both resolved notifications. receipt of both real firing and both resolved notifications.
Exact Discord receipt/acknowledgement timestamps were not retained; do not Sergio reported these Discord display times in New York (EDT, UTC--4):
substitute Grafana evaluation times for receiver times. Jenkins firing 16:40, Jenkins resolved 16:42, disk firing 16:43, disk resolved
16:43. Converted to UTC: 20:40, 20:42, 20:43 and 20:43. These are user-reported
minute-precision receipt records; exact seconds and a separate channel
acknowledgement timestamp were not retained. They cannot establish precise
notification latency and must not replace the higher-resolution server records.
For HTTPS failures, inspect the instance, \texttt{up}, Blackbox diagnostics, For HTTPS failures, inspect the instance, \texttt{up}, Blackbox diagnostics,
TLS, Caddy and application state. Keep TLS verification and the Jenkins TLS, Caddy and application state. Keep TLS verification and the Jenkins
@@ -314,17 +318,19 @@ Stop request to first failed sample was 23.626 seconds. First failure to the
20:40:30 firing evaluation was 80.890 seconds, consistent with scrape phase, 20:40:30 firing evaluation was 80.890 seconds, consistent with scrape phase,
30-second evaluation and one-minute pending. Stop request to first recovered 30-second evaluation and one-minute pending. Stop request to first recovered
sample was 233.626 seconds; restart request to that sample was 51.599 seconds. sample was 233.626 seconds; restart request to that sample was 51.599 seconds.
Seven failed probes bound the observed failure period. Discord firing and Seven failed probes bound the observed failure period. Discord firing/resolved receipt was confirmed by Sergio at the minute-level
resolved receipt were confirmed by Sergio, but precise delivery/acknowledgement times above. Sub-minute delivery and acknowledgement latencies cannot be
latencies cannot be calculated from the retained record. calculated from these records.
\subsection{Persistence and integration checks} \subsection{Persistence and integration checks}
Prometheus and Grafana were restarted separately without volume deletion. Prometheus and Grafana were restarted separately without volume deletion.
A historical instant query at 20:40:00 returned Jenkins 0 and Gitea 1 both A historical instant query at 20:40:00 returned Jenkins 0 and Gitea 1 both
before and after the Prometheus restart. Grafana's health returned database OK; before and after the Prometheus restart. Grafana's health returned database OK;
dashboard UID \texttt{sre-overview}, both rules (1m/5m) and the Discord contact dashboard UID \texttt{sre-overview}, both rules (1m/5m) and the Discord contact
point remained. Collection can pause during restarts; the complete 10-minute point remained. The retained 30-minute Prometheus self-scrape range contained no adjacent
SLI window above predates them. This test demonstrates persistence, not backup sample gap greater than 45 seconds around the restart (30-second nominal
cadence). A short restart can fall between scheduled scrapes. The complete
10-minute SLI window above predates the restart. This test demonstrates persistence, not backup
restoration. Raw sanitized records are under \path{evidence/chapter5/}. restoration. Raw sanitized records are under \path{evidence/chapter5/}.
Gitea Actions manual-pdf run 16 (displayed build 12), source Gitea Actions manual-pdf run 16 (displayed build 12), source
@@ -360,8 +366,8 @@ capacity issue: the original disk budget was too small for the default image
and optional plugins, and the slim deployment restored a workable margin. and optional plugins, and the slim deployment restored a workable margin.
The current setup shares the failure domain it monitors. It also relies on The current setup shares the failure domain it monitors. It also relies on
Caddy's dynamic private IP, and precise receiver acknowledgement timestamps Caddy's dynamic private IP, and receiver timestamps were retained only to the minute; a separate
were not captured. The following owned issues track improvements: acknowledgement time was not captured. The following owned issues track improvements:
\begin{itemize} \begin{itemize}
\item \href{https://git.sespinal590.dev/group10-startup/devops-it-manual/issues/2}{Issue 2}, \item \href{https://git.sespinal590.dev/group10-startup/devops-it-manual/issues/2}{Issue 2},
P1, Sergio (\texttt{sespinal}): add an independent external TLS availability P1, Sergio (\texttt{sespinal}): add an independent external TLS availability
@@ -382,7 +388,6 @@ references and AI log accompany this chapter.
\paragraph{Review boundary.} \paragraph{Review boundary.}
Deployment, rule evaluation, notification receipt, controlled recovery and Deployment, rule evaluation, notification receipt, controlled recovery and
persistence have measured evidence. Human peer review and main merge remain persistence have measured evidence. Human peer review and main merge remain
outstanding; main merge is explicitly deferred by Sergio. Receiver timestamps, outstanding; main merge is explicitly deferred by Sergio. Receiver timing is limited to user-reported minutes; a separate channel
automatic new-commit trigger validation, and precise restart collection-gap acknowledgement time and automatic new-commit trigger validation remain
measurement remain unverified. A successful PDF build does not close those gaps.
limitations. A successful PDF build does not close those gaps.
+14
View File
@@ -0,0 +1,14 @@
{
"source": "Sergio confirmation in chat; timestamps read from Discord",
"date": "2026-10-30",
"timezone": "America/New_York (EDT, UTC-4)",
"precision": "minute; no exact seconds or separate channel acknowledgement recorded",
"jenkins_firing_local": "16:40",
"jenkins_resolved_local": "16:42",
"disk_firing_local": "16:43",
"disk_resolved_local": "16:43",
"jenkins_firing_utc": "20:40",
"jenkins_resolved_utc": "20:42",
"disk_firing_utc": "20:43",
"disk_resolved_utc": "20:43"
}
+6
View File
@@ -0,0 +1,6 @@
{
"captured_at": "2026-10-30T21:01:48.380690+00:00",
"query": "up{job=\"prometheus\"}[30m]",
"received": 60,
"gaps_over_45_seconds": []
}