Reconcile operator runbooks with verified monitoring results
manual-pdf / build-manual (push) Successful in 2m28s

This commit is contained in:
2026-10-30 21:01:32 +00:00
parent fb9407a011
commit 7540f0c2cd
3 changed files with 23 additions and 19 deletions
+10 -11
View File
@@ -41,7 +41,7 @@ pinned in Compose; the digests identify the images actually inspected.
\fbox{\begin{minipage}{0.94\linewidth}\centering
\textbf{Primary Droplet: Ubuntu 24.04, 1 CPU, 2 GB RAM, 10 GB disk}\\[5pt]
Browser $\xrightarrow{\mathrm{HTTPS}\ 443}$ \fbox{Caddy}\\
\texttt{gitea\_default} proxy network: Caddy routes by hostname\\[4pt]
\path{gitea_default} proxy network: Caddy routes by hostname\\[4pt]
\fbox{Gitea :3000}\quad \fbox{Jenkins :8080}\quad
\fbox{Grafana :3000}\\[5pt]
\textbf{Four separate monitoring containers}\\
@@ -53,7 +53,7 @@ Prometheus $\xrightarrow{\mathrm{probe\ request}}$
Blackbox $\xrightarrow{\mathrm{TLS}\ 443}$ Caddy
$\rightarrow$ Gitea /user/login and Jenkins /login\\[4pt]
\path{monitoring_monitoring_private}: all four monitoring services\\
Grafana and Blackbox additionally join \texttt{gitea\_default}.\\
Grafana and Blackbox additionally join \path{gitea_default}.\\
Grafana $\xrightarrow{\mathrm{outbound\ HTTPS}}$ Discord team alerts\\[4pt]
\textbf{Persistent storage:} Prometheus named volume $\rightarrow$ /prometheus;\\
Grafana named volume $\rightarrow$ /var/lib/grafana;\\
@@ -74,8 +74,8 @@ and installed plugin in its named volume. Removing volumes would destroy this
persistence. All four containers use \texttt{unless-stopped} restart policies.
\subsection{Repeatable operations}
Check out the feature branch and copy the non-secret \texttt{monitoring/}
directory to \texttt{/opt/ssw590-monitoring}. Privately supply the admin password,
Check out the feature branch and copy the non-secret \path{monitoring/}
directory to \path{/opt/ssw590-monitoring}. Privately supply the admin password,
Grafana root URL, and the current Caddy private IP in a mode-600 \texttt{.env}.
The proxy network must already exist. Confirm its subnet and that
172.18.0.250 is unused before assigning Blackbox's fixed address. Set readable
@@ -108,14 +108,14 @@ quay.io/prometheus/blackbox-exporter@sha256:ea1c7aa3ef3f307cd03e85f34abb604478cc
\section{Metrics and Probes}
Prometheus privately scrapes itself, Node Exporter and Blackbox Exporter, plus
two relabeled HTTPS probe targets every 30 seconds. Five \texttt{up} series
were 1 at the verification checkpoint; both \texttt{probe\_success} values
were 1 at the verification checkpoint; both \path{probe_success} values
were 1 after recovery. A successful scrape (\texttt{up}) means collection
worked; it does not establish that the application probe succeeded.
Node Exporter has read-only host-root and proc/sys access. Its
\path{node_memory_MemTotal_bytes} was 2,063,564,800 bytes, consistent
with host \texttt{free}. The root series labels were verified as
\texttt{device=/dev/vda1}, \texttt{mountpoint=/}, \texttt{fstype=ext4},
\path{device=/dev/vda1}, \path{mountpoint=/}, \texttt{fstype=ext4},
matching \texttt{df}. This excludes container overlay filesystems.
The HTTPS module requires HTTP 200, valid certificate verification and a
@@ -234,8 +234,8 @@ Thirty failures exceed the budget by 1.2 samples, approximately 0.6 minutes.
\subsection{Measured short exercise window}
The actual interval is (20:35:00,20:45:00] UTC on October 30, evaluated at
20:45:00 with a 30-second scrape interval. Queries were
\texttt{avg\_over\_time}, \texttt{count\_over\_time} and
\texttt{sum\_over\_time} of \texttt{probe\_success\{job="https"\}[10m]}.
\path{avg_over_time}, \path{count_over_time} and
\path{sum_over_time} of \texttt{probe\_success\{job="https"\}[10m]}.
Multiply the average by 100 for percent.
\begin{center}\begin{tabular}{lrrrr}\toprule
Service & Received / expected & Successes & Failures & Percent\\\midrule
@@ -325,7 +325,7 @@ 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
restoration. Raw sanitized records are under \texttt{evidence/chapter5/}.
restoration. Raw sanitized records are under \path{evidence/chapter5/}.
Gitea Actions manual-pdf run 16 (displayed build 12), source
\path{2fc6e8909034bd615fd5f3caffd71f0ef386d18f}, passed in 44 seconds
@@ -379,11 +379,10 @@ Use that revision to inspect the exact source, rather than relying only on a
moving branch link. The updated history, service/secret-hints table, glossary,
references and AI log accompany this chapter.
\begin{devopsNote}[Review boundary]
\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.
\end{devopsNote}