From 8e20b016cefdf8863fb56b40d66a9a10b369738d Mon Sep 17 00:00:00 2001 From: sespinal Date: Fri, 30 Oct 2026 21:03:06 +0000 Subject: [PATCH] Record confirmed Discord receipt times and restart collection coverage --- devopsSREMonitoring.tex | 31 +++++++++++++++----------- evidence/chapter5/discord-receipt.json | 14 ++++++++++++ evidence/chapter5/restart-gaps.json | 6 +++++ 3 files changed, 38 insertions(+), 13 deletions(-) create mode 100644 evidence/chapter5/discord-receipt.json create mode 100644 evidence/chapter5/restart-gaps.json diff --git a/devopsSREMonitoring.tex b/devopsSREMonitoring.tex index 25b4d23..b234025 100644 --- a/devopsSREMonitoring.tex +++ b/devopsSREMonitoring.tex @@ -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 contact test succeeded, and Sergio confirmed its receipt, then confirmed receipt of both real firing and both resolved notifications. -Exact Discord receipt/acknowledgement timestamps were not retained; do not -substitute Grafana evaluation times for receiver times. +Sergio reported these Discord display times in New York (EDT, UTC--4): +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, 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, 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. -Seven failed probes bound the observed failure period. Discord firing and -resolved receipt were confirmed by Sergio, but precise delivery/acknowledgement -latencies cannot be calculated from the retained record. +Seven failed probes bound the observed failure period. Discord firing/resolved receipt was confirmed by Sergio at the minute-level +times above. Sub-minute delivery and acknowledgement latencies cannot be +calculated from these records. \subsection{Persistence and integration checks} Prometheus and Grafana were restarted separately without volume deletion. 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; dashboard UID \texttt{sre-overview}, both rules (1m/5m) and the Discord contact -point remained. Collection can pause during restarts; the complete 10-minute -SLI window above predates them. This test demonstrates persistence, not backup +point remained. The retained 30-minute Prometheus self-scrape range contained no adjacent +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/}. 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. The current setup shares the failure domain it monitors. It also relies on -Caddy's dynamic private IP, and precise receiver acknowledgement timestamps -were not captured. The following owned issues track improvements: +Caddy's dynamic private IP, and receiver timestamps were retained only to the minute; a separate +acknowledgement time was not captured. The following owned issues track improvements: \begin{itemize} \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 @@ -382,7 +388,6 @@ references and AI log accompany this chapter. \paragraph{Review boundary.} Deployment, rule evaluation, notification receipt, controlled recovery and persistence have measured evidence. Human peer review and main merge remain -outstanding; main merge is explicitly deferred by Sergio. Receiver timestamps, -automatic new-commit trigger validation, and precise restart collection-gap -measurement remain -limitations. A successful PDF build does not close those gaps. +outstanding; main merge is explicitly deferred by Sergio. Receiver timing is limited to user-reported minutes; a separate channel +acknowledgement time and automatic new-commit trigger validation remain +unverified. A successful PDF build does not close those gaps. diff --git a/evidence/chapter5/discord-receipt.json b/evidence/chapter5/discord-receipt.json new file mode 100644 index 0000000..fb14af6 --- /dev/null +++ b/evidence/chapter5/discord-receipt.json @@ -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" +} \ No newline at end of file diff --git a/evidence/chapter5/restart-gaps.json b/evidence/chapter5/restart-gaps.json new file mode 100644 index 0000000..3799023 --- /dev/null +++ b/evidence/chapter5/restart-gaps.json @@ -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": [] +} \ No newline at end of file