WIP: Chapter 5 monitoring deployment and measured recovery evidence #4
@@ -36,6 +36,11 @@ jobs:
|
|||||||
shell: cmd
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
latexmk -norc -pdf -shell-escape -interaction=nonstopmode -halt-on-error devopsAssignment.tex
|
latexmk -norc -pdf -shell-escape -interaction=nonstopmode -halt-on-error devopsAssignment.tex
|
||||||
|
if errorlevel 1 exit /b 1
|
||||||
|
makeglossaries devopsAssignment
|
||||||
|
if errorlevel 1 exit /b 1
|
||||||
|
latexmk -norc -pdf -shell-escape -interaction=nonstopmode -halt-on-error devopsAssignment.tex
|
||||||
|
if errorlevel 1 exit /b 1
|
||||||
if not exist devopsAssignment.pdf exit /b 1
|
if not exist devopsAssignment.pdf exit /b 1
|
||||||
for %%A in (devopsAssignment.pdf) do if %%~zA LEQ 0 exit /b 1
|
for %%A in (devopsAssignment.pdf) do if %%~zA LEQ 0 exit /b 1
|
||||||
|
|
||||||
|
|||||||
@@ -34,3 +34,6 @@ Thumbs.db
|
|||||||
.env
|
.env
|
||||||
.env.*
|
.env.*
|
||||||
!.env.example
|
!.env.example
|
||||||
|
|
||||||
|
# Server-local notification secrets
|
||||||
|
*.local.yml
|
||||||
|
|||||||
@@ -29,3 +29,15 @@ accounts, created the DigitalOcean firewall in the web console, confirmed DNS
|
|||||||
record creation, and authorized replacing obsolete teammate-hosted assignment
|
record creation, and authorized replacing obsolete teammate-hosted assignment
|
||||||
details; Unresolved assumptions: the temporary reviewer account can be
|
details; Unresolved assumptions: the temporary reviewer account can be
|
||||||
replaced by a real teammate account before future production use.
|
replaced by a real teammate account before future production use.
|
||||||
|
|
||||||
|
\section{Chapter 5 Monitoring Record}
|
||||||
|
Date: October 30, 2026; tool: OpenAI Codex. Inputs: Turan's prepared feature
|
||||||
|
branch, assignment manual 1.42, actual host/CI/metrics records and Sergio's
|
||||||
|
explicit deployment, snapshot, resize and Discord authorizations. Output used:
|
||||||
|
configuration repairs, deployment, controlled tests, measured report and
|
||||||
|
sanitized evidence. Sergio retained the 10 GB disk and confirmed the test
|
||||||
|
message plus both real firing/resolved notification pairs. Secrets stayed on
|
||||||
|
the server. Human peer review, exact receiver timestamps and the limitations
|
||||||
|
listed in \ChapterRef{SREMonitoring} remain outstanding. No main merge was
|
||||||
|
performed. Turan's initial configuration was adapted; no imported dashboard
|
||||||
|
was represented as an independently authored external template.
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
\usepackage{minted}
|
\usepackage{minted}
|
||||||
\usepackage{tcolorbox}
|
\usepackage{tcolorbox}
|
||||||
\usepackage{makeidx}
|
\usepackage{makeidx}
|
||||||
|
\usepackage{xurl}
|
||||||
\usepackage[colorlinks=true,citecolor=blue,linkcolor=blue,urlcolor=blue]{hyperref}
|
\usepackage[colorlinks=true,citecolor=blue,linkcolor=blue,urlcolor=blue]{hyperref}
|
||||||
\usepackage[acronym,toc]{glossaries}
|
\usepackage[acronym,toc]{glossaries}
|
||||||
|
|
||||||
@@ -37,13 +38,13 @@
|
|||||||
% Replace these values for each assignment.
|
% Replace these values for each assignment.
|
||||||
\newcommand{\AssignmentTitle}{Group 10 DevOps Project}
|
\newcommand{\AssignmentTitle}{Group 10 DevOps Project}
|
||||||
\newcommand{\AssignmentNumber}{}
|
\newcommand{\AssignmentNumber}{}
|
||||||
\newcommand{\DocumentVersion}{1.9}
|
\newcommand{\DocumentVersion}{1.10}
|
||||||
\newcommand{\DocumentStatus}{Active}
|
\newcommand{\DocumentStatus}{Active}
|
||||||
\newcommand{\CourseNumber}{SSW 590}
|
\newcommand{\CourseNumber}{SSW 590}
|
||||||
\newcommand{\CourseName}{DevOps}
|
\newcommand{\CourseName}{DevOps}
|
||||||
\newcommand{\Instructor}{Darian Muresan}
|
\newcommand{\Instructor}{Darian Muresan}
|
||||||
\newcommand{\Organization}{Stevens Institute of Technology}
|
\newcommand{\Organization}{Stevens Institute of Technology}
|
||||||
\newcommand{\DocumentDate}{October 13, 2026}
|
\newcommand{\DocumentDate}{October 30, 2026}
|
||||||
\newcommand{\DueDate}{}
|
\newcommand{\DueDate}{}
|
||||||
\newcommand{\VERSION}{Version \DocumentVersion}
|
\newcommand{\VERSION}{Version \DocumentVersion}
|
||||||
\input{devopsBuildMetadata.tex}
|
\input{devopsBuildMetadata.tex}
|
||||||
|
|||||||
@@ -22,6 +22,14 @@ link each entry to the changed chapter, table, figure, or controlled artifact.
|
|||||||
\bottomrule
|
\bottomrule
|
||||||
\endlastfoot
|
\endlastfoot
|
||||||
|
|
||||||
|
October 30, 2026 / 1.10 & SE, TI, CDX &
|
||||||
|
Deployed and verified Chapter 5 monitoring on the approved resized host;
|
||||||
|
recorded the slim-image capacity correction, dashboard, controlled Jenkins
|
||||||
|
incident, alert receipt, actual SLI, persistence, recovery CI and owned issues.
|
||||||
|
Fixed workflow indentation and master include; retained human-review gaps and
|
||||||
|
left main unmerged. & \ChapterRef{SREMonitoring},
|
||||||
|
\hyperref[Table:SRETimeline]{incident timeline},
|
||||||
|
\hyperref[Table:SREHosts]{hosts and hints}\\
|
||||||
October 13, 2026 / 1.9 & SE, CDX &
|
October 13, 2026 / 1.9 & SE, CDX &
|
||||||
Completed the corrected Chapter 3 Gitea Actions evidence after SSH access was restored: registered the Windows LaTeX runner, pushed the manual workflow to Gitea, recorded successful main-branch builds, captured a controlled failed build, repaired it, and updated the artifact, runner, traceability, and rubric-status evidence while preserving the Jenkins chapter as Chapter 4 groundwork. &
|
Completed the corrected Chapter 3 Gitea Actions evidence after SSH access was restored: registered the Windows LaTeX runner, pushed the manual workflow to Gitea, recorded successful main-branch builds, captured a controlled failed build, repaired it, and updated the artifact, runner, traceability, and rubric-status evidence while preserving the Jenkins chapter as Chapter 4 groundwork. &
|
||||||
\ChapterRef{GiteaActions}, \hyperref[Table:GiteaActionsRunner]{runner setup},
|
\ChapterRef{GiteaActions}, \hyperref[Table:GiteaActionsRunner]{runner setup},
|
||||||
@@ -109,4 +117,3 @@ submission chapters. &
|
|||||||
\ChapterRef{AIAgentGuide}\\
|
\ChapterRef{AIAgentGuide}\\
|
||||||
|
|
||||||
\end{tabularx}
|
\end{tabularx}
|
||||||
|
|
||||||
|
|||||||
@@ -24,3 +24,7 @@
|
|||||||
\newglossaryentry{artifact}{name={artifact},description={A build output retained by a workflow run, such as a generated PDF, for later download and review}}
|
\newglossaryentry{artifact}{name={artifact},description={A build output retained by a workflow run, such as a generated PDF, for later download and review}}
|
||||||
\newglossaryentry{runner}{name={runner},description={A self-managed service that polls Gitea for workflow jobs and executes them in a configured environment}}
|
\newglossaryentry{runner}{name={runner},description={A self-managed service that polls Gitea for workflow jobs and executes them in a configured environment}}
|
||||||
|
|
||||||
|
|
||||||
|
\newacronym{sli}{SLI}{service-level indicator}
|
||||||
|
\newacronym{sla}{SLA}{service-level agreement}
|
||||||
|
\newglossaryentry{errorbudget}{name={error budget},description={The allowed amount of unsuccessful service observations within a stated objective and window}}
|
||||||
|
|||||||
@@ -132,3 +132,12 @@
|
|||||||
year = {2026},
|
year = {2026},
|
||||||
note = {Accessed October 12, 2026}
|
note = {Accessed October 12, 2026}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@misc{PrometheusStorage,
|
||||||
|
author={{Prometheus Authors}}, title={Storage},
|
||||||
|
howpublished={\url{https://prometheus.io/docs/prometheus/latest/storage/}},
|
||||||
|
note={Accessed October 30, 2026}}
|
||||||
|
@misc{GrafanaNoData,
|
||||||
|
author={{Grafana Labs}}, title={No Data and Error states},
|
||||||
|
howpublished={\url{https://grafana.com/docs/grafana/latest/alerting/fundamentals/alert-rule-evaluation/nodata-and-error-states/}},
|
||||||
|
note={Accessed October 30, 2026}}
|
||||||
|
|||||||
+352
-448
@@ -1,485 +1,389 @@
|
|||||||
\chapter{Introduction to SRE: Monitoring and Reliability}
|
\chapter{Introduction to SRE: Monitoring and Reliability}
|
||||||
\ChapterLabel{SREMonitoring}
|
\ChapterLabel{SREMonitoring}
|
||||||
|
\index{monitoring}\index{incident review}\index{error budget}
|
||||||
\section{Objective and Scope}
|
|
||||||
|
|
||||||
This chapter documents the design, configuration, deployment
|
|
||||||
requirements, and verification procedures for the Group 10
|
|
||||||
Site Reliability Engineering (SRE) monitoring environment.
|
|
||||||
|
|
||||||
The objective is to monitor the reliability of the existing
|
|
||||||
Gitea and Jenkins services while preserving their security,
|
|
||||||
persistent data, and continuous integration functionality.
|
|
||||||
|
|
||||||
The proposed monitoring stack consists of four Docker
|
|
||||||
containers: Prometheus, Grafana OSS, Node Exporter, and
|
|
||||||
Blackbox Exporter.
|
|
||||||
|
|
||||||
The configuration files were prepared in the Gitea repository
|
|
||||||
on the \texttt{chapter5-sre-monitoring} branch.
|
|
||||||
|
|
||||||
\begin{devopsNote}[Verification Status]
|
|
||||||
Repository configuration and documentation have been prepared.
|
|
||||||
Deployment, runtime verification, dashboard screenshots, alert
|
|
||||||
notifications, and incident testing remain pending. These
|
|
||||||
activities must be completed and documented before submission.
|
|
||||||
\end{devopsNote}
|
|
||||||
|
|
||||||
\section{Deployment and Reproducibility}
|
\section{Deployment and Reproducibility}
|
||||||
|
\subsection{Scope, baseline, and decisions}
|
||||||
|
Group 10 deployed four monitoring containers on October 30, 2026, using Turan
|
||||||
|
Islamli's prepared branch and Sergio Espinal's authorized operational changes.
|
||||||
|
This report records actual tests, rather than treating configuration as proof.
|
||||||
|
The implementation remains on \path{chapter5-sre-monitoring}; main has not
|
||||||
|
been merged. Human peer review remains outstanding.
|
||||||
|
|
||||||
\subsection{Existing Infrastructure}
|
The Ubuntu 24.04 primary Droplet (165.227.90.215) originally had approximately
|
||||||
|
458 MiB RAM. An approved snapshot, ID 252241628, was retained before resizing
|
||||||
|
CPU/RAM to 1 vCPU and 2 GB. The disk remains 10 GB as requested. Its root
|
||||||
|
filesystem reports 8.7 GiB usable, approximately 7.0 GiB used and 1.8 GiB
|
||||||
|
available (81\% used). Snapshot existence does not demonstrate a restore.
|
||||||
|
The primary plan is \$12/month; the separate unchanged 512 MB Droplet costs
|
||||||
|
\$4/month; the 5.65 GB snapshot is approximately \$0.34/month. Known total:
|
||||||
|
approximately \$16.34/month before taxes or other usage. Sergio owns these
|
||||||
|
resources and should remove the snapshot only after deciding it is no longer
|
||||||
|
needed. No additional paid service was provisioned for monitoring.
|
||||||
|
|
||||||
The verified deployment host is an Ubuntu 24.04 DigitalOcean
|
The full Grafana image and optional plugin downloads temporarily exhausted disk
|
||||||
Droplet with Docker and Docker Compose installed.
|
space during installation. Grafana was stopped, only the new full image and
|
||||||
|
optional downloaded plugin files were removed, and the slim image was used.
|
||||||
|
The Grafana database and all named volumes were preserved. The resulting image
|
||||||
|
is approximately 1.23 GB rather than 2 GB. Only the Prometheus plugin 13.2.4
|
||||||
|
was installed; automatic plugin preinstallation and updates are disabled.
|
||||||
|
The retained free-space margin is small and must be monitored.
|
||||||
|
|
||||||
The existing application containers are Gitea, Jenkins,
|
\subsection{Versions, storage, and actual topology}
|
||||||
and Caddy.
|
The deployed images are \path{prom/prometheus:v3.15.1},
|
||||||
|
\path{grafana/grafana:13.3.0-slim},
|
||||||
|
\path{quay.io/prometheus/node-exporter:v1.12.1}, and
|
||||||
|
\path{quay.io/prometheus/blackbox-exporter:v0.29.1}. Publisher digests
|
||||||
|
captured with \texttt{docker image inspect} are recorded below. Versions are
|
||||||
|
pinned in Compose; the digests identify the images actually inspected.
|
||||||
|
|
||||||
Gitea and Jenkins use separate Compose projects. Caddy
|
\begin{figure}[htbp]\centering\small
|
||||||
provides HTTPS reverse-proxy access.
|
\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]
|
||||||
|
\fbox{Gitea :3000}\quad \fbox{Jenkins :8080}\quad
|
||||||
|
\fbox{Grafana :3000}\\[5pt]
|
||||||
|
\textbf{Four separate monitoring containers}\\
|
||||||
|
\fbox{Grafana} $\xrightarrow{\mathrm{query}}$ \fbox{Prometheus :9090}\\[4pt]
|
||||||
|
Prometheus $\xrightarrow{\mathrm{scrape\ every\ }30s}$
|
||||||
|
\fbox{Node Exporter :9100}\quad host /proc, /sys, /\\[4pt]
|
||||||
|
Prometheus $\xrightarrow{\mathrm{probe\ request}}$
|
||||||
|
\fbox{Blackbox Exporter :9115}\\
|
||||||
|
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 $\xrightarrow{\mathrm{outbound\ HTTPS}}$ Discord team alerts\\[4pt]
|
||||||
|
\textbf{Persistent storage:} Prometheus named volume $\rightarrow$ /prometheus;\\
|
||||||
|
Grafana named volume $\rightarrow$ /var/lib/grafana;\\
|
||||||
|
existing Gitea /data and Jenkins /var/jenkins\_home retained.\\
|
||||||
|
Configuration bind mounts originate in /opt/ssw590-monitoring.\\
|
||||||
|
Existing applications remain in /opt/gitea and /opt/jenkins.\\[4pt]
|
||||||
|
\textbf{CI outside this diagram's metrics:} Windows LaTeX runner polls Gitea;\\
|
||||||
|
Jenkins application build executes on the primary controller.
|
||||||
|
\end{minipage}}
|
||||||
|
\caption{Actual deployment, October 30, 2026. Internal ports are not public
|
||||||
|
listeners. Grafana is shown twice to clarify its query role, not as two containers.}
|
||||||
|
\label{Figure:SRETopology}\end{figure}
|
||||||
|
|
||||||
The monitoring services are defined in a separate Compose
|
Prometheus retains up to seven days or 512 MB of stored blocks, whichever
|
||||||
project under \texttt{monitoring/compose.yaml}.
|
limit applies first. WAL/head storage is additional, so this is not a hard
|
||||||
|
filesystem quota \cite{PrometheusStorage}. Grafana stores its SQLite database
|
||||||
|
and installed plugin in its named volume. Removing volumes would destroy this
|
||||||
|
persistence. All four containers use \texttt{unless-stopped} restart policies.
|
||||||
|
|
||||||
This separation is intended to prevent changes to the
|
\subsection{Repeatable operations}
|
||||||
existing application deployments.
|
Check out the feature branch and copy the non-secret \texttt{monitoring/}
|
||||||
|
directory to \texttt{/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
|
||||||
|
configuration directories to 755 and non-secret files to 644. Keep the local
|
||||||
|
Discord provisioning file owned by UID 472, group 0, mode 600.
|
||||||
|
\begin{lstlisting}[basicstyle=\ttfamily\scriptsize,breaklines=true]
|
||||||
|
cd /opt/ssw590-monitoring
|
||||||
|
docker compose config --quiet
|
||||||
|
docker compose up -d
|
||||||
|
docker compose exec grafana grafana cli plugins install prometheus 13.2.4
|
||||||
|
docker compose restart grafana
|
||||||
|
docker compose ps
|
||||||
|
docker exec monitoring-prometheus-1 promtool check config /etc/prometheus/prometheus.yml
|
||||||
|
\end{lstlisting}
|
||||||
|
The commands were executed successfully during deployment. For updates, review
|
||||||
|
image/plugin compatibility and available disk first, retain a backup, validate
|
||||||
|
configuration, and recreate only the affected service. Do not run
|
||||||
|
\texttt{down -v}. Recovery starts with \texttt{docker compose up -d}, target
|
||||||
|
health and logs; restore known-good configuration before escalating to a backup
|
||||||
|
restore. Reinstall the pinned plugin if rebuilding the Grafana volume.
|
||||||
|
|
||||||
\subsection{Monitoring Containers}
|
\subsection{Inspected publisher digests}
|
||||||
|
\begin{lstlisting}[basicstyle=\ttfamily\tiny,breaklines=true]
|
||||||
|
prom/prometheus@sha256:fa3302279710be2f21a8301ec17a8b4f2301fd829bd113839b3b6b02b6f191a2
|
||||||
|
grafana/grafana@sha256:a66f098dd9b2e1b5a19287ff176db02d895122488c6e39b3dfcd3fb897039225
|
||||||
|
quay.io/prometheus/node-exporter@sha256:1b4e4438faca4dd7e001dd445d161a4a2091b0fededa84093b3a8dfeae1f1be0
|
||||||
|
quay.io/prometheus/blackbox-exporter@sha256:ea1c7aa3ef3f307cd03e85f34abb604478ccb90b567fc690da0cd9776da76b13
|
||||||
|
\end{lstlisting}
|
||||||
|
|
||||||
|
\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 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},
|
||||||
|
matching \texttt{df}. This excludes container overlay filesystems.
|
||||||
|
|
||||||
|
The HTTPS module requires HTTP 200, valid certificate verification and a
|
||||||
|
response before its timeout. Targets are the actual TLS login URLs below.
|
||||||
|
The exporter resolves both hostnames to Caddy's private 172.18.0.3 address,
|
||||||
|
retaining their hostname/SNI and TLS verification. This measures the private
|
||||||
|
proxy/application route; it cannot establish public DNS or external Internet
|
||||||
|
availability. A shared-host outage also stops its own monitoring.
|
||||||
|
|
||||||
|
\section{HTTPS and Access Control}
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item \textbf{Prometheus:} Collects and stores monitoring metrics.
|
\item Gitea login: \url{https://git.sespinal590.dev/user/login}.
|
||||||
\item \textbf{Grafana OSS:} Displays dashboards and evaluates alerts.
|
\item Jenkins login: \url{https://ci.165.227.90.215.sslip.io/login}.
|
||||||
\item \textbf{Node Exporter:} Exposes host CPU, memory, and disk metrics.
|
\item Grafana: \url{https://metrics.165.227.90.215.sslip.io}.
|
||||||
\item \textbf{Blackbox Exporter:} Performs HTTPS availability probes.
|
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
Use the team account for Gitea, the existing administrator's approved Jenkins
|
||||||
|
access path, and the privately held Grafana admin password. Anonymous Grafana
|
||||||
|
access and self-registration are disabled; its cookie is secure. No grader
|
||||||
|
account is required to read the embedded evidence.
|
||||||
|
|
||||||
The Compose configuration requires explicitly selected image
|
Caddy provides HTTPS and forwards the metrics hostname to
|
||||||
versions rather than floating \texttt{latest} tags.
|
\texttt{grafana:3000}. The existing Jenkins IP restriction was retained with
|
||||||
|
only Blackbox's 172.18.0.250/32 added. A public 403 from an unapproved source
|
||||||
|
is expected access denial and is not treated as successful availability.
|
||||||
|
The exporter obtained 200 from Jenkins through the narrow permitted route.
|
||||||
|
Caddy's configuration was backed up before modification.
|
||||||
|
\begin{lstlisting}[basicstyle=\ttfamily\scriptsize,breaklines=true]
|
||||||
|
# Existing Jenkins allowlist plus the one monitoring address:
|
||||||
|
remote_ip 155.246.151.38/32 172.18.0.1/32 172.18.0.250/32
|
||||||
|
# Additional HTTPS virtual host:
|
||||||
|
metrics.165.227.90.215.sslip.io {
|
||||||
|
reverse_proxy grafana:3000
|
||||||
|
}
|
||||||
|
\end{lstlisting}
|
||||||
|
No monitoring service has Compose host-port mappings. External TCP checks from
|
||||||
|
Sergio's Windows workstation on October 30 could not connect to primary ports
|
||||||
|
3000, 8080, 9090, 9100 or 9115. HTTPS remained reachable. These are point-in-time
|
||||||
|
observations from that source, not a universal firewall guarantee.
|
||||||
|
|
||||||
Prometheus and Grafana use named persistent Docker volumes.
|
\begin{tabularx}{\linewidth}{L{3cm}Y}
|
||||||
|
\caption{Chapter 5 hosts, storage and credential hints\label{Table:SREHosts}}\\
|
||||||
|
\toprule Service / owner & Address, exposure, storage or secret handling\\\midrule
|
||||||
|
Primary / Sergio & 165.227.90.215; Caddy HTTPS 443; SSH for approved operators.
|
||||||
|
Snapshot retained; monitoring runs here.\\
|
||||||
|
Grafana / Sergio & metrics hostname above; private 3000; named Grafana volume.
|
||||||
|
Admin secret stays in root-owned server .env; never in Git or PDF.\\
|
||||||
|
Prometheus / Sergio & Private prometheus:9090; named metrics volume; no user-facing login.\\
|
||||||
|
Exporters / Sergio & Private node-exporter:9100 and blackbox-exporter:9115;
|
||||||
|
read-only configuration/host mounts.\\
|
||||||
|
Discord / team & Dedicated Discord integration; secret destination in
|
||||||
|
\texttt{discord.local.yml} on server only. Rotate via Discord if exposed.\\
|
||||||
|
\bottomrule\end{tabularx}
|
||||||
|
These entries supplement the existing Hosts and Password Hints tables in
|
||||||
|
\ChapterRef{Gitea}; no credentials are reproduced.
|
||||||
|
|
||||||
No monitoring service publishes an internal port directly
|
\section{Dashboard and CI Correlation}
|
||||||
to the public host interface.
|
The provisioned dashboard is \textit{Chapter 5 -- SRE Monitoring Overview}, UID
|
||||||
|
\texttt{sre-overview}, UTC, default one hour, refresh 30 seconds. Its versioned
|
||||||
|
source is \path{monitoring/grafana/dashboards/sre-overview.json}. The six
|
||||||
|
panels use the following expressions (each line is one panel's query).
|
||||||
|
\begin{lstlisting}[basicstyle=\ttfamily\scriptsize,breaklines=true]
|
||||||
|
100 * (1 - avg by (instance) (rate(node_cpu_seconds_total{mode="idle",job="node-exporter"}[5m])))
|
||||||
|
node_memory_MemAvailable_bytes{job="node-exporter"}
|
||||||
|
100 * node_filesystem_avail_bytes{job="node-exporter",mountpoint="/",fstype!~"tmpfs|overlay"} / node_filesystem_size_bytes{job="node-exporter",mountpoint="/",fstype!~"tmpfs|overlay"}
|
||||||
|
probe_success{job="https",instance="https://git.sespinal590.dev/user/login"}
|
||||||
|
probe_success{job="https",instance="https://ci.165.227.90.215.sslip.io/login"}
|
||||||
|
probe_duration_seconds{job="https"}
|
||||||
|
\end{lstlisting}
|
||||||
|
CPU is the non-idle fraction averaged over CPUs, percent; available RAM is
|
||||||
|
bytes rendered in GiB/MiB; root availability is percent for the one verified
|
||||||
|
root mount; service lines are binary 0/1; durations are seconds with separate
|
||||||
|
Gitea/Jenkins legends. Availability is not an HTTP request error rate for
|
||||||
|
all users. Whole-host CPU cannot be attributed solely to Jenkins.
|
||||||
|
|
||||||
\subsection{Capacity Constraint}
|
\begin{figure}[p]\centering
|
||||||
|
\includegraphics[width=\linewidth,height=0.82\textheight,keepaspectratio]{evidence/chapter5/dashboard-live.png}
|
||||||
|
\caption{Actual Grafana six-panel dashboard, October 30, 2026, UTC.
|
||||||
|
The Jenkins-only outage is visible while Gitea stays at 1.}
|
||||||
|
\label{Figure:SREDashboard}\end{figure}
|
||||||
|
|
||||||
The initial host inspection identified approximately
|
After recovery, Jenkins \path{startup-product-ci/main} build 3 passed for
|
||||||
458 MiB of total RAM, with approximately 209 MiB available
|
commit \path{6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065}.
|
||||||
at the time of inspection.
|
It ran from 20:43:32.534 to 20:43:52.340 UTC (19.806 seconds), on the Jenkins
|
||||||
|
controller. See \url{https://ci.165.227.90.215.sslip.io/job/startup-product-ci/job/main/3/}.
|
||||||
This capacity is insufficient for a conventional deployment
|
The host measurements immediately before, during and after this build were:
|
||||||
of the four monitoring containers alongside the existing
|
\begin{center}\begin{tabular}{lrr}\toprule
|
||||||
Gitea, Jenkins, and Caddy services.
|
UTC evaluation & CPU (one-minute rate) & Available RAM (MiB)\\\midrule
|
||||||
|
20:43:00 (before) & 41.57\% & 878.0\\
|
||||||
The team must approve a suitable capacity plan before
|
20:43:45 (during) & 17.40\% & 863.8\\
|
||||||
deploying the monitoring stack.
|
20:44:30 (after) & 17.67\% & 914.5\\\bottomrule
|
||||||
|
\end{tabular}\end{center}
|
||||||
The team must not create paid resources or resize the
|
The short build's CPU peak is not established by these snapshots. They include
|
||||||
Droplet without authorization.
|
Jenkins initialization, monitoring and other work; the 30-second scrape cadence
|
||||||
|
and one-minute rate smooth the 19.8-second build. The dashboard uses five-minute
|
||||||
\subsection{Deployment Verification}
|
CPU smoothing. Available RAM fell slightly during the build and rose afterward,
|
||||||
|
which is correlation rather than proof of per-container allocation.
|
||||||
After obtaining approval, the deployment operator must:
|
The Windows LaTeX workflow executes off-droplet, so its build load is not
|
||||||
|
measured by these host metrics.
|
||||||
\begin{enumerate}
|
|
||||||
\item Select and record the four official image versions.
|
|
||||||
\item Configure required environment variables securely.
|
|
||||||
\item Validate the Compose configuration.
|
|
||||||
\item Confirm the required Docker networks exist.
|
|
||||||
\item Deploy the monitoring services.
|
|
||||||
\item Verify all monitoring containers are healthy.
|
|
||||||
\item Confirm existing application containers remain operational.
|
|
||||||
\item Verify persistent volumes and restart policies.
|
|
||||||
\item Record deployment commands and their actual output.
|
|
||||||
\end{enumerate}
|
|
||||||
|
|
||||||
\textbf{Evidence pending:} Compose validation, selected image
|
|
||||||
versions, container status, network inspection, and persistence.
|
|
||||||
|
|
||||||
\section{Metrics and HTTPS Probes}
|
|
||||||
|
|
||||||
\subsection{Prometheus Scrape Configuration}
|
|
||||||
|
|
||||||
Prometheus is configured with a 30-second scrape interval.
|
|
||||||
|
|
||||||
The prepared scrape jobs are:
|
|
||||||
|
|
||||||
\begin{itemize}
|
|
||||||
\item Prometheus self-monitoring.
|
|
||||||
\item Node Exporter host metrics.
|
|
||||||
\item Blackbox Exporter self-monitoring.
|
|
||||||
\item HTTPS probes for Gitea and Jenkins.
|
|
||||||
\end{itemize}
|
|
||||||
|
|
||||||
The scrape configuration is stored at
|
|
||||||
\texttt{monitoring/prometheus/prometheus.yml}.
|
|
||||||
|
|
||||||
The Blackbox module configuration is stored at
|
|
||||||
\texttt{monitoring/blackbox/blackbox.yml}.
|
|
||||||
|
|
||||||
\subsection{Host Metrics}
|
|
||||||
|
|
||||||
Node Exporter provides metrics for CPU utilization,
|
|
||||||
available memory, and root filesystem capacity.
|
|
||||||
|
|
||||||
The dashboard uses the following Prometheus metric families:
|
|
||||||
|
|
||||||
\begin{itemize}
|
|
||||||
\item \texttt{node\_cpu\_seconds\_total}
|
|
||||||
\item \texttt{node\_memory\_MemAvailable\_bytes}
|
|
||||||
\item \texttt{node\_filesystem\_avail\_bytes}
|
|
||||||
\item \texttt{node\_filesystem\_size\_bytes}
|
|
||||||
\end{itemize}
|
|
||||||
|
|
||||||
The deployment operator must verify that these metrics
|
|
||||||
represent the actual host rather than an unintended
|
|
||||||
container filesystem.
|
|
||||||
|
|
||||||
\subsection{HTTPS Availability Metrics}
|
|
||||||
|
|
||||||
Blackbox Exporter provides:
|
|
||||||
|
|
||||||
\begin{itemize}
|
|
||||||
\item \texttt{probe\_success}: successful probe indicator.
|
|
||||||
\item \texttt{probe\_duration\_seconds}: probe duration.
|
|
||||||
\item HTTP response and TLS diagnostic metrics.
|
|
||||||
\end{itemize}
|
|
||||||
|
|
||||||
A successful configured probe requires HTTP 200,
|
|
||||||
valid TLS verification, and completion before timeout.
|
|
||||||
|
|
||||||
Prometheus target availability and service availability
|
|
||||||
are different measurements.
|
|
||||||
|
|
||||||
The Prometheus \texttt{up} metric indicates whether a
|
|
||||||
scrape succeeded. The \texttt{probe\_success} metric
|
|
||||||
indicates whether the probed endpoint passed its checks.
|
|
||||||
|
|
||||||
\textbf{Evidence pending:} Prometheus targets, live metric
|
|
||||||
values, and successful probes for both services.
|
|
||||||
|
|
||||||
\section{HTTPS Access and Security}
|
|
||||||
|
|
||||||
\subsection{Verified HTTPS Endpoints}
|
|
||||||
|
|
||||||
The existing Gitea HTTPS hostname is
|
|
||||||
\texttt{git.sespinal590.dev}.
|
|
||||||
|
|
||||||
The existing Jenkins HTTPS hostname is
|
|
||||||
\texttt{ci.165.227.90.215.sslip.io}.
|
|
||||||
|
|
||||||
Read-only checks confirmed a successful HTTP 200 response
|
|
||||||
and valid TLS verification for the Gitea root endpoint.
|
|
||||||
|
|
||||||
The Jenkins public root and login endpoints returned
|
|
||||||
HTTP 403 from the tested source, with valid TLS verification.
|
|
||||||
|
|
||||||
An internal request to the Jenkins login endpoint from
|
|
||||||
the Caddy container returned HTTP 200.
|
|
||||||
|
|
||||||
\subsection{Jenkins Access Restriction}
|
|
||||||
|
|
||||||
The Caddy configuration uses an IP allowlist to restrict
|
|
||||||
Jenkins access.
|
|
||||||
|
|
||||||
The public HTTP 403 response is therefore not sufficient
|
|
||||||
evidence that the Jenkins application is unavailable.
|
|
||||||
|
|
||||||
Before deployment, the team must establish narrowly scoped
|
|
||||||
monitoring access that preserves the existing restriction.
|
|
||||||
|
|
||||||
The team must verify that Blackbox Exporter can reach the
|
|
||||||
real Jenkins HTTPS login endpoint and obtain HTTP 200.
|
|
||||||
|
|
||||||
The monitoring system must not classify HTTP 403 as
|
|
||||||
a successful Jenkins availability probe.
|
|
||||||
|
|
||||||
\subsection{Grafana HTTPS Access}
|
|
||||||
|
|
||||||
Grafana must be made available through an authenticated
|
|
||||||
HTTPS route managed by Caddy.
|
|
||||||
|
|
||||||
Anonymous access must remain disabled.
|
|
||||||
|
|
||||||
Administrator credentials and notification secrets
|
|
||||||
must not be committed to the repository.
|
|
||||||
|
|
||||||
The team must confirm that Prometheus and exporter ports
|
|
||||||
are not exposed publicly.
|
|
||||||
|
|
||||||
\textbf{Evidence pending:} Grafana HTTPS login, Caddy
|
|
||||||
configuration, TLS verification, and access restrictions.
|
|
||||||
|
|
||||||
\section{Grafana Dashboard and CI Correlation}
|
|
||||||
|
|
||||||
\subsection{Dashboard Provisioning}
|
|
||||||
|
|
||||||
Grafana provisioning files are stored under
|
|
||||||
\texttt{monitoring/grafana/provisioning/}.
|
|
||||||
|
|
||||||
The prepared dashboard definition is stored at
|
|
||||||
\texttt{monitoring/grafana/dashboards/sre-overview.json}.
|
|
||||||
|
|
||||||
The dashboard is designed to display six panels:
|
|
||||||
|
|
||||||
\begin{enumerate}
|
|
||||||
\item Host CPU utilization percentage.
|
|
||||||
\item Host available RAM.
|
|
||||||
\item Root disk available percentage.
|
|
||||||
\item Gitea HTTPS availability.
|
|
||||||
\item Jenkins HTTPS availability.
|
|
||||||
\item HTTPS response time for both services.
|
|
||||||
\end{enumerate}
|
|
||||||
|
|
||||||
The dashboard refresh interval is 30 seconds.
|
|
||||||
|
|
||||||
\subsection{Continuous Integration Correlation}
|
|
||||||
|
|
||||||
The monitoring experiment must be correlated with the
|
|
||||||
existing Jenkins pipeline and Gitea Actions PDF workflow.
|
|
||||||
|
|
||||||
The team must record relevant build execution times and
|
|
||||||
compare them with the monitoring timeline.
|
|
||||||
|
|
||||||
A successful application recovery does not automatically
|
|
||||||
prove that CI pipelines remain operational.
|
|
||||||
|
|
||||||
The Jenkins pipeline and Gitea Actions workflow must
|
|
||||||
therefore be verified independently after the outage.
|
|
||||||
|
|
||||||
\textbf{Evidence pending:} Six-panel dashboard screenshot,
|
|
||||||
Jenkins pipeline execution, and successful Gitea Actions
|
|
||||||
PDF build artifact.
|
|
||||||
|
|
||||||
\section{SLI, SLO, and Error Budget}
|
\section{SLI, SLO, and Error Budget}
|
||||||
|
An \gls{sli} is a measured indicator; here it is successful HTTPS observations
|
||||||
|
divided by received observations for a named service and window. The
|
||||||
|
\gls{slo} is an internal target of at least 99\% success over 24 hours. An
|
||||||
|
\gls{sla} is a customer agreement that may attach consequences; this lab
|
||||||
|
establishes no customer SLA.
|
||||||
|
|
||||||
\subsection{Availability Indicator}
|
\subsection{Required hypothetical example}
|
||||||
|
These figures are illustrative, not measured lab results. At 30 seconds,
|
||||||
|
24 hours schedules $24\times60\times2=2880$ probes per service.
|
||||||
|
Gitea's $2880/2880=100\%$ meets the target. Jenkins's
|
||||||
|
$2850/2880\times100=98.9583\%$ misses it, with 30 failures.
|
||||||
|
The theoretical budget is $0.01\times2880=28.8$ failures or
|
||||||
|
$28.8\times30/60=14.4$ minutes. At most 28 whole failed samples meet 99\%.
|
||||||
|
Thirty failures exceed the budget by 1.2 samples, approximately 0.6 minutes.
|
||||||
|
|
||||||
The service level indicator (SLI) is the fraction of
|
\subsection{Measured short exercise window}
|
||||||
successful observed HTTPS probes:
|
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]}.
|
||||||
|
Multiply the average by 100 for percent.
|
||||||
|
\begin{center}\begin{tabular}{lrrrr}\toprule
|
||||||
|
Service & Received / expected & Successes & Failures & Percent\\\midrule
|
||||||
|
Gitea & 20 / 20 & 20 & 0 & 100\%\\
|
||||||
|
Jenkins & 20 / 20 & 13 & 7 & 65\%\\\bottomrule
|
||||||
|
\end{tabular}\end{center}
|
||||||
|
Both have 100\% sample coverage in this short window. The services have
|
||||||
|
different scrape phases, so timestamps differ; no samples were missing in
|
||||||
|
this interval. Seven failed Jenkins samples correspond to approximately
|
||||||
|
3.5 minutes under uniform sampling. Actual endpoints transitioned between
|
||||||
|
scrapes, so sample counts do not provide continuous-time precision. Missing
|
||||||
|
observations in another window would be unknown, not successes. This exercise
|
||||||
|
does not establish whether the full 24-hour SLO was met.
|
||||||
|
|
||||||
\begin{equation}
|
\section{Alerts and Runbooks}
|
||||||
\mathrm{SLI} =
|
Both Grafana-managed rules have owner \texttt{sespinal}, a 30-second evaluation
|
||||||
\frac{\text{Successful observed probes}}
|
interval, summaries and links to \path{monitoring/ALERTING-RUNBOOK.md}.
|
||||||
{\text{Total observed probes}}.
|
Service unavailability uses \texttt{probe\_success\{job="https"\}<1}, pending
|
||||||
\end{equation}
|
one minute, severity critical, retaining instance labels. Disk uses the same
|
||||||
|
verified root percentage as the dashboard, below 15\% for five minutes,
|
||||||
|
severity warning. Fifteen percent provides a response margin on this small disk.
|
||||||
|
No-data state is \texttt{NoData}; evaluation errors are \texttt{Error}, rather
|
||||||
|
than healthy. Grafana creates separate data-source alerts for these conditions
|
||||||
|
\cite{GrafanaNoData}. The service expression additionally uses a zero-valued fallback from the
|
||||||
|
matching target \texttt{up} series when its probe series disappears:
|
||||||
|
\texttt{or on(instance,job) (0 * up\{job="https"\})}. Thus a failed
|
||||||
|
collection does not silently become a successful probe. Removing a target
|
||||||
|
from configuration still requires source review; it is not an availability fix.
|
||||||
|
|
||||||
The laboratory service level objective (SLO) is
|
\begin{figure}[htbp]\centering
|
||||||
99\% availability over a 24-hour observation window.
|
\includegraphics[width=\linewidth]{evidence/chapter5/alerts-recovered.png}
|
||||||
|
\caption{Actual Grafana group showing both provisioned rules normal after the
|
||||||
|
tests, October 30, 2026. The rule-state JSON records retain firing transitions.}
|
||||||
|
\label{Figure:SREAlerts}\end{figure}
|
||||||
|
Both route through the dedicated Discord integration in contact point
|
||||||
|
\texttt{team-alerts}. Policy groups by folder and alert name, waits 10 seconds,
|
||||||
|
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.
|
||||||
|
|
||||||
At a 30-second sampling interval, the scheduled number
|
For HTTPS failures, inspect the instance, \texttt{up}, Blackbox diagnostics,
|
||||||
of samples is:
|
TLS, Caddy and application state. Keep TLS verification and the Jenkins
|
||||||
|
allowlist intact; restart only the affected service and verify probe recovery
|
||||||
|
and CI. For disk, inspect \texttt{df}, Docker images and volume/log growth;
|
||||||
|
remove only verified disposable material after review. Preserve application
|
||||||
|
and monitoring volumes. Recheck the filesystem and resolved state.
|
||||||
|
|
||||||
\begin{equation}
|
The disk test changed only its threshold from 15 to 30\% at 20:37:26.770 UTC.
|
||||||
N = 24 \times 60 \times 2 = 2880.
|
It reached firing by observation 20:42:57.308, after five minutes pending.
|
||||||
\end{equation}
|
The script's \texttt{finally} block restored 15\% at 20:43:27.486; it was
|
||||||
|
inactive by 20:43:57.520. No disk-filling workload was used.
|
||||||
|
|
||||||
The permitted error budget is:
|
\section{Incident and Recovery}
|
||||||
|
\subsection{Controlled Jenkins incident and measurements}
|
||||||
|
The exercise stopped only Jenkins, retaining all volumes and the recovery
|
||||||
|
command. A 210-second systemd safety timer was installed before stopping it;
|
||||||
|
the primary script restarted it after approximately three minutes. Gitea,
|
||||||
|
Caddy and the four monitoring containers remained available during the outage.
|
||||||
|
All times below are October 30, 2026 UTC.
|
||||||
|
\begin{tabularx}{\linewidth}{L{3.6cm}Y}
|
||||||
|
\caption{Observed incident timeline\label{Table:SRETimeline}}\\
|
||||||
|
\toprule Time & Event and evidence\\\midrule
|
||||||
|
20:38:45.484 & Jenkins stop requested; stopped at 20:38:46.995.\\
|
||||||
|
20:39:09.110 & First recorded failed Jenkins probe; previous success 20:38:39.110.\\
|
||||||
|
20:40:30 evaluation & HTTPS alert firing, observed by polling at 20:40:57.\\
|
||||||
|
20:41:47.511 & Restart requested; container started 20:41:47.945.\\
|
||||||
|
20:42:09.110 & Probe still failed while Jenkins initialized.\\
|
||||||
|
20:42:39.110 & First successful post-outage probe.\\
|
||||||
|
20:43:27.344 or earlier & Rule observed inactive; subsequent evaluations stayed normal.\\
|
||||||
|
20:43:32.534--52.340 & Recovery pipeline build 3 SUCCESS.\\
|
||||||
|
\bottomrule\end{tabularx}
|
||||||
|
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.
|
||||||
|
|
||||||
\begin{equation}
|
\subsection{Persistence and integration checks}
|
||||||
B = 2880 \times (1 - 0.99) = 28.8.
|
Prometheus and Grafana were restarted separately without volume deletion.
|
||||||
\end{equation}
|
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
|
||||||
|
restoration. Raw sanitized records are under \texttt{evidence/chapter5/}.
|
||||||
|
|
||||||
Because probe failures are counted in whole samples,
|
Gitea Actions manual-pdf run 16 (displayed build 12), source
|
||||||
the maximum permitted number of failed samples is 28.
|
\path{2fc6e8909034bd615fd5f3caffd71f0ef386d18f}, passed in 44 seconds
|
||||||
|
before final documentation changes:
|
||||||
|
\url{https://git.sespinal590.dev/group10-startup/devops-it-manual/actions/runs/16}.
|
||||||
|
The final automated artifact carries build \WorkflowRunNumber{} and source
|
||||||
|
\href{https://git.sespinal590.dev/group10-startup/devops-it-manual/commit/\SourceRevision}{\SourceRevision{}} in its generated metadata.
|
||||||
|
Its workflow record is available from
|
||||||
|
\href{https://git.sespinal590.dev/group10-startup/devops-it-manual/actions}{the repository Actions page}.
|
||||||
|
Human approval of this source revision is still required. Chapter 4's test/build failure
|
||||||
|
is different: code can fail a pipeline while Jenkins remains available.
|
||||||
|
Here the CI server itself was unavailable, so jobs could not execute during
|
||||||
|
that interval. Retained Chapter 4 records link
|
||||||
|
\href{https://ci.165.227.90.215.sslip.io/job/startup-product-ci/job/PR-9/1/}{failed PR-9 build 1}
|
||||||
|
(commit \path{35605c33b903742cd13d444a1a14d61b07fbaa86}) and
|
||||||
|
\href{https://ci.165.227.90.215.sslip.io/job/startup-product-ci/job/PR-9/2/}{repaired build 2}
|
||||||
|
(commit \path{ed8684a2897c407946320183e572f6412dbb7703}, SUCCESS).
|
||||||
|
Those historical records do not establish current peer-review status.
|
||||||
|
The recovery build published a fresh success status to Gitea at 20:43:52 UTC,
|
||||||
|
context \path{startup-product-ci/pipeline/head}, target build 3, matching
|
||||||
|
commit \path{6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065}.
|
||||||
|
The repository has no configured webhook; the retained polling fallback is
|
||||||
|
distinct from webhook delivery. This manual run verifies execution and status
|
||||||
|
publication, not an automatic new-commit trigger.
|
||||||
|
|
||||||
The equivalent theoretical failure allowance is
|
\subsection{Blameless review and owned improvements}
|
||||||
14.4 minutes, while 28 complete failed samples
|
The intended maintenance injection caused the incident. Jenkins initialization
|
||||||
represent 14 minutes.
|
extended user-visible unavailability beyond the stopped-container interval.
|
||||||
|
Detection worked; Gitea remained successful throughout the measured window;
|
||||||
\subsection{Mandatory Hypothetical Example}
|
Jenkins recovered and a normal build passed. No person is blamed for the
|
||||||
|
capacity issue: the original disk budget was too small for the default image
|
||||||
The following results are hypothetical and do not
|
and optional plugins, and the slim deployment restored a workable margin.
|
||||||
represent measured deployment availability.
|
|
||||||
|
|
||||||
\begin{center}
|
|
||||||
\begin{tabular}{lrrrr}
|
|
||||||
\toprule
|
|
||||||
Service & Successful & Scheduled & Availability & Result \\
|
|
||||||
\midrule
|
|
||||||
Gitea & 2880 & 2880 & 100.00\% & PASS \\
|
|
||||||
Jenkins & 2850 & 2880 & 98.96\% & FAIL \\
|
|
||||||
\bottomrule
|
|
||||||
\end{tabular}
|
|
||||||
\end{center}
|
|
||||||
|
|
||||||
Jenkins has 30 hypothetical failed samples and
|
|
||||||
therefore exceeds the permitted error budget.
|
|
||||||
|
|
||||||
\subsection{Actual Observation Procedure}
|
|
||||||
|
|
||||||
After deployment, calculate observed availability
|
|
||||||
using \texttt{avg\_over\_time} applied to
|
|
||||||
\texttt{probe\_success}.
|
|
||||||
|
|
||||||
Use \texttt{count\_over\_time} to determine how many
|
|
||||||
samples were actually collected.
|
|
||||||
|
|
||||||
Missing samples must not automatically be counted
|
|
||||||
as successful probes.
|
|
||||||
|
|
||||||
If a complete 24-hour window is unavailable, clearly
|
|
||||||
label the shorter observation window and report its
|
|
||||||
actual sample count.
|
|
||||||
|
|
||||||
Detailed PromQL queries and calculation instructions
|
|
||||||
are maintained in \texttt{monitoring/SLI-SLO.md}.
|
|
||||||
|
|
||||||
\textbf{Evidence pending:} Actual observed sample counts,
|
|
||||||
availability values, and outage-window calculations.
|
|
||||||
|
|
||||||
\section{Grafana Alerts and Runbooks}
|
|
||||||
|
|
||||||
\subsection{HTTPS Service Unavailable}
|
|
||||||
|
|
||||||
The first Grafana-managed alert monitors
|
|
||||||
\texttt{probe\_success} for each HTTPS target.
|
|
||||||
|
|
||||||
The intended condition is a probe result below 1
|
|
||||||
for at least one continuous minute.
|
|
||||||
|
|
||||||
Each service must be distinguishable using its
|
|
||||||
Prometheus instance label.
|
|
||||||
|
|
||||||
\subsection{Host Root Disk Space Low}
|
|
||||||
|
|
||||||
The second Grafana-managed alert monitors the
|
|
||||||
percentage of available root filesystem space.
|
|
||||||
|
|
||||||
The intended condition is less than 15\%
|
|
||||||
available space for five continuous minutes.
|
|
||||||
|
|
||||||
\subsection{Notification Configuration}
|
|
||||||
|
|
||||||
The team must configure an approved Grafana
|
|
||||||
notification contact point and verify that an
|
|
||||||
actual notification is received.
|
|
||||||
|
|
||||||
The contact point must not expose passwords,
|
|
||||||
API keys, or private credentials in the repository.
|
|
||||||
|
|
||||||
\subsection{Safe Alert Demonstration}
|
|
||||||
|
|
||||||
The disk alert must be tested without deliberately
|
|
||||||
filling the Droplet filesystem.
|
|
||||||
|
|
||||||
The approved demonstration procedure temporarily
|
|
||||||
raises the alert threshold above the current
|
|
||||||
available disk percentage, waits for the pending
|
|
||||||
period, records the alert firing, and then restores
|
|
||||||
the required 15\% threshold.
|
|
||||||
|
|
||||||
The full alert configuration and operational
|
|
||||||
procedures are documented in
|
|
||||||
\texttt{monitoring/ALERTING-RUNBOOK.md}.
|
|
||||||
|
|
||||||
\textbf{Evidence pending:} Loaded Grafana alert rules,
|
|
||||||
contact point, firing notifications, and resolutions.
|
|
||||||
|
|
||||||
\section{Controlled Incident and Recovery}
|
|
||||||
|
|
||||||
\subsection{Jenkins-Only Outage}
|
|
||||||
|
|
||||||
The team must coordinate an approved controlled
|
|
||||||
Jenkins-only outage lasting approximately three minutes.
|
|
||||||
|
|
||||||
Gitea, Caddy, Prometheus, and Grafana must remain
|
|
||||||
operational during the experiment.
|
|
||||||
|
|
||||||
The operator must record the exact UTC timestamps
|
|
||||||
for the outage, first failed probe, alert firing,
|
|
||||||
notification receipt, application restart, first
|
|
||||||
successful probe, and alert resolution.
|
|
||||||
|
|
||||||
\subsection{Recovery Verification}
|
|
||||||
|
|
||||||
After restarting Jenkins, the team must verify:
|
|
||||||
|
|
||||||
\begin{enumerate}
|
|
||||||
\item The Jenkins login endpoint is available.
|
|
||||||
\item The HTTPS probe returns a successful result.
|
|
||||||
\item The Grafana alert resolves.
|
|
||||||
\item Gitea remained available during the outage.
|
|
||||||
\item The Jenkins pipeline executes successfully.
|
|
||||||
\item The Gitea Actions PDF workflow executes successfully.
|
|
||||||
\end{enumerate}
|
|
||||||
|
|
||||||
\subsection{Monitoring Persistence}
|
|
||||||
|
|
||||||
Prometheus and Grafana must be restarted separately.
|
|
||||||
|
|
||||||
Prometheus must retain historical metrics.
|
|
||||||
|
|
||||||
Grafana must retain the provisioned dashboard,
|
|
||||||
data source, alert rules, and notification configuration.
|
|
||||||
|
|
||||||
The team must not delete persistent Docker volumes
|
|
||||||
during these tests.
|
|
||||||
|
|
||||||
\subsection{Blameless Incident Review}
|
|
||||||
|
|
||||||
The final incident review must document actual
|
|
||||||
impact, detection, notification, recovery,
|
|
||||||
contributing factors, and preventive improvements.
|
|
||||||
|
|
||||||
At least two follow-up Gitea issues must be created,
|
|
||||||
with assigned owners and acceptance criteria.
|
|
||||||
|
|
||||||
\textbf{Evidence pending:} UTC incident timeline,
|
|
||||||
outage graphs, notifications, restart tests,
|
|
||||||
CI verification, and follow-up issue references.
|
|
||||||
|
|
||||||
\section{Traceability and Submission Evidence}
|
|
||||||
|
|
||||||
\subsection{Repository Artifacts}
|
|
||||||
|
|
||||||
The Chapter 5 preparation is organized under
|
|
||||||
the \texttt{monitoring/} directory.
|
|
||||||
|
|
||||||
Key artifacts include:
|
|
||||||
|
|
||||||
|
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:
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item \texttt{ARCHITECTURE.md}
|
\item \href{https://git.sespinal590.dev/group10-startup/devops-it-manual/issues/2}{Issue 2},
|
||||||
\item \texttt{compose.yaml}
|
P1, Sergio (\texttt{sespinal}): add an independent external TLS availability
|
||||||
\item \texttt{prometheus/prometheus.yml}
|
check; verify notification and recovery without exposing private ports.
|
||||||
\item \texttt{blackbox/blackbox.yml}
|
\item \href{https://git.sespinal590.dev/group10-startup/devops-it-manual/issues/3}{Issue 3},
|
||||||
\item \texttt{grafana/provisioning/}
|
P2, Turan (\texttt{turanisl}): remove fragile proxy-address dependence and
|
||||||
\item \texttt{grafana/dashboards/sre-overview.json}
|
verify coordinated rebuilds, private access, TLS and rollback.
|
||||||
\item \texttt{SLI-SLO.md}
|
|
||||||
\item \texttt{ALERTING-RUNBOOK.md}
|
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
These files provide the intended deployment
|
\section{Manual Integration and Traceability}
|
||||||
configuration and reproducibility documentation.
|
Source and prepared configuration are retained on the feature branch.
|
||||||
|
The workflow indentation and master include typo were repaired first.
|
||||||
|
The final PDF includes the source revision from workflow build metadata.
|
||||||
|
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.
|
||||||
|
|
||||||
They do not independently prove that the
|
\begin{devopsNote}[Review boundary]
|
||||||
monitoring services were deployed successfully.
|
Deployment, rule evaluation, notification receipt, controlled recovery and
|
||||||
|
persistence have measured evidence. Human peer review and main merge remain
|
||||||
\subsection{Final Evidence Checklist}
|
outstanding; main merge is explicitly deferred by Sergio. Receiver timestamps,
|
||||||
|
automatic new-commit trigger validation, and precise restart collection-gap
|
||||||
Before submission, the team must provide:
|
measurement remain
|
||||||
|
limitations. A successful PDF build does not close those gaps.
|
||||||
\begin{enumerate}
|
|
||||||
\item Validated monitoring Compose configuration.
|
|
||||||
\item Running monitoring containers and selected image versions.
|
|
||||||
\item Prometheus targets and actual metric values.
|
|
||||||
\item Grafana authenticated HTTPS login.
|
|
||||||
\item Six-panel dashboard with real data.
|
|
||||||
\item Gitea and Jenkins HTTPS probe results.
|
|
||||||
\item Actual SLI observations and SLO calculations.
|
|
||||||
\item Two configured and tested Grafana alerts.
|
|
||||||
\item Notification delivery and resolution evidence.
|
|
||||||
\item Controlled Jenkins outage and UTC timeline.
|
|
||||||
\item Prometheus and Grafana persistence tests.
|
|
||||||
\item Jenkins pipeline and Gitea Actions verification.
|
|
||||||
\item Blameless incident review.
|
|
||||||
\item Two assigned follow-up Gitea issues.
|
|
||||||
\item Successfully generated final PDF manual artifact.
|
|
||||||
\end{enumerate}
|
|
||||||
|
|
||||||
\begin{devopsNote}[Final Submission Requirement]
|
|
||||||
The final Chapter 5 report must replace all pending evidence
|
|
||||||
statements with verified results or explicitly document
|
|
||||||
unresolved limitations. The team must not present planned
|
|
||||||
configuration as successful deployment.
|
|
||||||
\end{devopsNote}
|
\end{devopsNote}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Sanitized actual runtime records from 2026-10-30. UTC throughout. No webhook URLs or credentials are included. dashboard-live.png and alerts-recovered.png are browser captures. JSON files record direct Prometheus/Grafana/Jenkins observations. Receiver delivery was confirmed by Sergio; exact Discord receipt timestamps were not captured.
|
||||||
@@ -0,0 +1,192 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"id": 1,
|
||||||
|
"uid": "sre-https-unavailable",
|
||||||
|
"orgID": 1,
|
||||||
|
"folderUID": "bg2th6ik05vr4e",
|
||||||
|
"ruleGroup": "Chapter 5 SRE Alerts",
|
||||||
|
"title": "HTTPS Service Unavailable",
|
||||||
|
"condition": "C",
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"refId": "A",
|
||||||
|
"queryType": "",
|
||||||
|
"relativeTimeRange": {
|
||||||
|
"from": 300,
|
||||||
|
"to": 0
|
||||||
|
},
|
||||||
|
"datasourceUid": "prometheus",
|
||||||
|
"model": {
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "probe_success{job=\"https\"} or on(instance,job) (0 * up{job=\"https\"})",
|
||||||
|
"instant": true,
|
||||||
|
"intervalMs": 30000,
|
||||||
|
"maxDataPoints": 43200,
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"refId": "B",
|
||||||
|
"queryType": "",
|
||||||
|
"relativeTimeRange": {
|
||||||
|
"from": 0,
|
||||||
|
"to": 0
|
||||||
|
},
|
||||||
|
"datasourceUid": "__expr__",
|
||||||
|
"model": {
|
||||||
|
"conditions": [],
|
||||||
|
"expression": "A",
|
||||||
|
"intervalMs": 1000,
|
||||||
|
"maxDataPoints": 43200,
|
||||||
|
"reducer": "last",
|
||||||
|
"refId": "B",
|
||||||
|
"type": "reduce"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"refId": "C",
|
||||||
|
"queryType": "",
|
||||||
|
"relativeTimeRange": {
|
||||||
|
"from": 0,
|
||||||
|
"to": 0
|
||||||
|
},
|
||||||
|
"datasourceUid": "__expr__",
|
||||||
|
"model": {
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"evaluator": {
|
||||||
|
"params": [
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"type": "lt"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"expression": "B",
|
||||||
|
"intervalMs": 1000,
|
||||||
|
"maxDataPoints": 43200,
|
||||||
|
"refId": "C",
|
||||||
|
"type": "threshold"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"updated": "2026-10-30T20:51:37Z",
|
||||||
|
"noDataState": "NoData",
|
||||||
|
"execErrState": "Error",
|
||||||
|
"annotations": {
|
||||||
|
"description": "The HTTPS probe has failed continuously for at least one minute.",
|
||||||
|
"runbook_url": "https://git.sespinal590.dev/group10-startup/devops-it-manual/src/branch/chapter5-sre-monitoring/monitoring/ALERTING-RUNBOOK.md",
|
||||||
|
"summary": "HTTPS probe failure for {{ $labels.instance }}"
|
||||||
|
},
|
||||||
|
"labels": {
|
||||||
|
"chapter": "5",
|
||||||
|
"owner": "sespinal",
|
||||||
|
"severity": "critical"
|
||||||
|
},
|
||||||
|
"provenance": "file",
|
||||||
|
"isPaused": false,
|
||||||
|
"notification_settings": null,
|
||||||
|
"record": null,
|
||||||
|
"for": "1m",
|
||||||
|
"keep_firing_for": "0s"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 2,
|
||||||
|
"uid": "sre-root-disk-low",
|
||||||
|
"orgID": 1,
|
||||||
|
"folderUID": "bg2th6ik05vr4e",
|
||||||
|
"ruleGroup": "Chapter 5 SRE Alerts",
|
||||||
|
"title": "Host Root Disk Space Low",
|
||||||
|
"condition": "C",
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"refId": "A",
|
||||||
|
"queryType": "",
|
||||||
|
"relativeTimeRange": {
|
||||||
|
"from": 300,
|
||||||
|
"to": 0
|
||||||
|
},
|
||||||
|
"datasourceUid": "prometheus",
|
||||||
|
"model": {
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "100 * node_filesystem_avail_bytes{job=\"node-exporter\",mountpoint=\"/\",fstype!~\"tmpfs|overlay\"} / node_filesystem_size_bytes{job=\"node-exporter\",mountpoint=\"/\",fstype!~\"tmpfs|overlay\"}",
|
||||||
|
"instant": true,
|
||||||
|
"intervalMs": 30000,
|
||||||
|
"maxDataPoints": 43200,
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"refId": "B",
|
||||||
|
"queryType": "",
|
||||||
|
"relativeTimeRange": {
|
||||||
|
"from": 0,
|
||||||
|
"to": 0
|
||||||
|
},
|
||||||
|
"datasourceUid": "__expr__",
|
||||||
|
"model": {
|
||||||
|
"conditions": [],
|
||||||
|
"expression": "A",
|
||||||
|
"intervalMs": 1000,
|
||||||
|
"maxDataPoints": 43200,
|
||||||
|
"reducer": "last",
|
||||||
|
"refId": "B",
|
||||||
|
"type": "reduce"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"refId": "C",
|
||||||
|
"queryType": "",
|
||||||
|
"relativeTimeRange": {
|
||||||
|
"from": 0,
|
||||||
|
"to": 0
|
||||||
|
},
|
||||||
|
"datasourceUid": "__expr__",
|
||||||
|
"model": {
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"evaluator": {
|
||||||
|
"params": [
|
||||||
|
15
|
||||||
|
],
|
||||||
|
"type": "lt"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"expression": "B",
|
||||||
|
"intervalMs": 1000,
|
||||||
|
"maxDataPoints": 43200,
|
||||||
|
"refId": "C",
|
||||||
|
"type": "threshold"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"updated": "2026-10-30T20:51:37Z",
|
||||||
|
"noDataState": "NoData",
|
||||||
|
"execErrState": "Error",
|
||||||
|
"annotations": {
|
||||||
|
"description": "Available root filesystem space has remained below 15% for five minutes.",
|
||||||
|
"runbook_url": "https://git.sespinal590.dev/group10-startup/devops-it-manual/src/branch/chapter5-sre-monitoring/monitoring/ALERTING-RUNBOOK.md",
|
||||||
|
"summary": "Host root disk availability below 15%"
|
||||||
|
},
|
||||||
|
"labels": {
|
||||||
|
"chapter": "5",
|
||||||
|
"owner": "sespinal",
|
||||||
|
"severity": "warning"
|
||||||
|
},
|
||||||
|
"provenance": "file",
|
||||||
|
"isPaused": false,
|
||||||
|
"notification_settings": null,
|
||||||
|
"record": null,
|
||||||
|
"for": "5m",
|
||||||
|
"keep_firing_for": "0s"
|
||||||
|
}
|
||||||
|
]
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 45 KiB |
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,296 @@
|
|||||||
|
{
|
||||||
|
"meta": {
|
||||||
|
"type": "db",
|
||||||
|
"canSave": true,
|
||||||
|
"canEdit": true,
|
||||||
|
"canAdmin": true,
|
||||||
|
"canStar": true,
|
||||||
|
"canDelete": true,
|
||||||
|
"slug": "chapter-5-sre-monitoring-overview",
|
||||||
|
"url": "/d/sre-overview/chapter-5-sre-monitoring-overview",
|
||||||
|
"expires": "0001-01-01T00:00:00Z",
|
||||||
|
"created": "2026-10-30T19:37:56Z",
|
||||||
|
"updated": "2026-10-30T19:37:56Z",
|
||||||
|
"updatedBy": "Anonymous",
|
||||||
|
"createdBy": "Anonymous",
|
||||||
|
"version": 1,
|
||||||
|
"hasAcl": false,
|
||||||
|
"isFolder": false,
|
||||||
|
"apiVersion": "v0alpha1",
|
||||||
|
"folderId": 4065061318705152,
|
||||||
|
"folderUid": "bg2th6ik05vr4e",
|
||||||
|
"folderTitle": "SRE Monitoring",
|
||||||
|
"folderUrl": "/dashboards/f/bg2th6ik05vr4e/sre-monitoring",
|
||||||
|
"provisioned": true,
|
||||||
|
"provisionedExternalId": "sre-overview.json",
|
||||||
|
"annotationsPermissions": {
|
||||||
|
"dashboard": {
|
||||||
|
"canAdd": true,
|
||||||
|
"canEdit": true,
|
||||||
|
"canDelete": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"dashboard": {
|
||||||
|
"annotations": {
|
||||||
|
"list": []
|
||||||
|
},
|
||||||
|
"id": 4065061988397056,
|
||||||
|
"panels": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"max": 100,
|
||||||
|
"min": 0,
|
||||||
|
"unit": "percent"
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 12,
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"id": 1,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom"
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"expr": "100 * (1 - avg by (instance) (rate(node_cpu_seconds_total{mode=\"idle\",job=\"node-exporter\"}[5m])))",
|
||||||
|
"legendFormat": "CPU used",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Host CPU Utilization (%)",
|
||||||
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"unit": "bytes"
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 12,
|
||||||
|
"x": 12,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"id": 2,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom"
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"expr": "node_memory_MemAvailable_bytes{job=\"node-exporter\"}",
|
||||||
|
"legendFormat": "Available RAM",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Host Available RAM",
|
||||||
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"max": 100,
|
||||||
|
"min": 0,
|
||||||
|
"unit": "percent"
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 12,
|
||||||
|
"x": 0,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"id": 3,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom"
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"expr": "100 * node_filesystem_avail_bytes{job=\"node-exporter\",mountpoint=\"/\",fstype!~\"tmpfs|overlay\"} / node_filesystem_size_bytes{job=\"node-exporter\",mountpoint=\"/\",fstype!~\"tmpfs|overlay\"}",
|
||||||
|
"legendFormat": "Root disk available",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Root Disk Available (%)",
|
||||||
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"decimals": 0,
|
||||||
|
"max": 1,
|
||||||
|
"min": 0
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 12,
|
||||||
|
"x": 12,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"id": 4,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom"
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"expr": "probe_success{job=\"https\",instance=\"https://git.sespinal590.dev/user/login\"}",
|
||||||
|
"legendFormat": "Gitea HTTPS success",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Gitea HTTPS Availability",
|
||||||
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"decimals": 0,
|
||||||
|
"max": 1,
|
||||||
|
"min": 0
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 12,
|
||||||
|
"x": 0,
|
||||||
|
"y": 16
|
||||||
|
},
|
||||||
|
"id": 5,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom"
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"expr": "probe_success{job=\"https\",instance=\"https://ci.165.227.90.215.sslip.io/login\"}",
|
||||||
|
"legendFormat": "Jenkins HTTPS success",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Jenkins HTTPS Availability",
|
||||||
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "prometheus"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"min": 0,
|
||||||
|
"unit": "s"
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 12,
|
||||||
|
"x": 12,
|
||||||
|
"y": 16
|
||||||
|
},
|
||||||
|
"id": 6,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom"
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"expr": "probe_duration_seconds{job=\"https\",instance=\"https://git.sespinal590.dev/user/login\"}",
|
||||||
|
"legendFormat": "Gitea",
|
||||||
|
"refId": "A"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"expr": "probe_duration_seconds{job=\"https\",instance=\"https://ci.165.227.90.215.sslip.io/login\"}",
|
||||||
|
"legendFormat": "Jenkins",
|
||||||
|
"refId": "B"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "HTTPS Response Time (seconds)",
|
||||||
|
"type": "timeseries"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"refresh": "30s",
|
||||||
|
"schemaVersion": 39,
|
||||||
|
"tags": [
|
||||||
|
"sre",
|
||||||
|
"chapter5",
|
||||||
|
"monitoring"
|
||||||
|
],
|
||||||
|
"templating": {
|
||||||
|
"list": []
|
||||||
|
},
|
||||||
|
"time": {
|
||||||
|
"from": "now-1h",
|
||||||
|
"to": "now"
|
||||||
|
},
|
||||||
|
"timezone": "utc",
|
||||||
|
"title": "Chapter 5 - SRE Monitoring Overview",
|
||||||
|
"uid": "sre-overview",
|
||||||
|
"version": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 83 KiB |
@@ -0,0 +1,170 @@
|
|||||||
|
{
|
||||||
|
"2026-10-30T20:43:00Z": {
|
||||||
|
"100 * (1 - avg(rate(node_cpu_seconds_total{mode=\"idle\",job=\"node-exporter\"}[1m])))": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {},
|
||||||
|
"value": [
|
||||||
|
1793392980,
|
||||||
|
"41.56666666666449"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_memory_MemAvailable_bytes{job=\"node-exporter\"}": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "node_memory_MemAvailable_bytes",
|
||||||
|
"instance": "node-exporter:9100",
|
||||||
|
"job": "node-exporter"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793392980,
|
||||||
|
"920629248"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"2026-10-30T20:43:45Z": {
|
||||||
|
"100 * (1 - avg(rate(node_cpu_seconds_total{mode=\"idle\",job=\"node-exporter\"}[1m])))": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {},
|
||||||
|
"value": [
|
||||||
|
1793393025,
|
||||||
|
"17.400000000000848"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_memory_MemAvailable_bytes{job=\"node-exporter\"}": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "node_memory_MemAvailable_bytes",
|
||||||
|
"instance": "node-exporter:9100",
|
||||||
|
"job": "node-exporter"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393025,
|
||||||
|
"905736192"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"2026-10-30T20:44:30Z": {
|
||||||
|
"100 * (1 - avg(rate(node_cpu_seconds_total{mode=\"idle\",job=\"node-exporter\"}[1m])))": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {},
|
||||||
|
"value": [
|
||||||
|
1793393070,
|
||||||
|
"17.666666666664245"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_memory_MemAvailable_bytes{job=\"node-exporter\"}": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "node_memory_MemAvailable_bytes",
|
||||||
|
"instance": "node-exporter:9100",
|
||||||
|
"job": "node-exporter"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393070,
|
||||||
|
"849772544"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fallback_normal": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://ci.165.227.90.215.sslip.io/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393516.365,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://git.sespinal590.dev/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393516.365,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fallback_absent_simulated": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"instance": "https://ci.165.227.90.215.sslip.io/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393516.533,
|
||||||
|
"0"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"instance": "https://git.sespinal590.dev/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393516.533,
|
||||||
|
"0"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"compose_check": 0,
|
||||||
|
"promtool": "Checking /etc/prometheus/prometheus.yml\n SUCCESS: /etc/prometheus/prometheus.yml is valid prometheus config file syntax\n\n"
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"state": "success",
|
||||||
|
"sha": "6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065",
|
||||||
|
"statuses": [
|
||||||
|
{
|
||||||
|
"status": "success",
|
||||||
|
"target_url": "https://ci.165.227.90.215.sslip.io/job/startup-product-ci/job/main/3/display/redirect",
|
||||||
|
"context": "startup-product-ci/pipeline/head",
|
||||||
|
"created_at": "2026-10-30T20:43:52Z",
|
||||||
|
"updated_at": "2026-10-30T20:43:52Z"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"tags": [
|
||||||
|
"prom/prometheus:v3.15.1"
|
||||||
|
],
|
||||||
|
"digests": [
|
||||||
|
"prom/prometheus@sha256:fa3302279710be2f21a8301ec17a8b4f2301fd829bd113839b3b6b02b6f191a2"
|
||||||
|
],
|
||||||
|
"architecture": "amd64"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tags": [
|
||||||
|
"grafana/grafana:13.3.0-slim"
|
||||||
|
],
|
||||||
|
"digests": [
|
||||||
|
"grafana/grafana@sha256:a66f098dd9b2e1b5a19287ff176db02d895122488c6e39b3dfcd3fb897039225"
|
||||||
|
],
|
||||||
|
"architecture": "amd64"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tags": [
|
||||||
|
"quay.io/prometheus/node-exporter:v1.12.1"
|
||||||
|
],
|
||||||
|
"digests": [
|
||||||
|
"quay.io/prometheus/node-exporter@sha256:1b4e4438faca4dd7e001dd445d161a4a2091b0fededa84093b3a8dfeae1f1be0"
|
||||||
|
],
|
||||||
|
"architecture": "amd64"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tags": [
|
||||||
|
"quay.io/prometheus/blackbox-exporter:v0.29.1"
|
||||||
|
],
|
||||||
|
"digests": [
|
||||||
|
"quay.io/prometheus/blackbox-exporter@sha256:ea1c7aa3ef3f307cd03e85f34abb604478ccb90b567fc690da0cd9776da76b13"
|
||||||
|
],
|
||||||
|
"architecture": "amd64"
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -0,0 +1,597 @@
|
|||||||
|
{
|
||||||
|
"probe_success{job=\"https\"}[10m] @ 2026-10-30T20:38:00Z": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "matrix",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://ci.165.227.90.215.sslip.io/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"values": [
|
||||||
|
[
|
||||||
|
1793392089.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392119.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392149.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392179.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392209.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392239.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392269.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392299.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392329.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392359.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392389.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392419.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392449.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392479.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392509.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392539.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392569.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392599.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392629.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392659.11,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://git.sespinal590.dev/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"values": [
|
||||||
|
[
|
||||||
|
1793392106.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392136.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392166.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392196.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392226.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392256.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392286.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392316.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392346.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392376.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392406.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392436.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392466.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392496.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392526.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392556.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392586.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392616.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392646.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392676.948,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"probe_success{job=\"https\"}[10m] @ 2026-10-30T20:44:00Z": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "matrix",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://ci.165.227.90.215.sslip.io/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"values": [
|
||||||
|
[
|
||||||
|
1793392449.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392479.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392509.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392539.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392569.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392599.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392629.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392659.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392689.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392719.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392749.11,
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392779.11,
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392809.11,
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392839.11,
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392869.11,
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392899.11,
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392929.11,
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392959.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392989.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793393019.11,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://git.sespinal590.dev/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"values": [
|
||||||
|
[
|
||||||
|
1793392466.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392496.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392526.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392556.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392586.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392616.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392646.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392676.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392706.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392736.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392766.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392796.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392826.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392856.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392886.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392916.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392946.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392976.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793393006.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793393036.948,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"probe_success{job=\"https\"}[10m] @ 2026-10-30T20:46:00Z": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "matrix",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://ci.165.227.90.215.sslip.io/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"values": [
|
||||||
|
[
|
||||||
|
1793392569.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392599.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392629.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392659.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392689.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392719.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392749.11,
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392779.11,
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392809.11,
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392839.11,
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392869.11,
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392899.11,
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392929.11,
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392959.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392989.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793393019.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793393049.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793393079.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793393109.11,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793393139.109,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://git.sespinal590.dev/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"values": [
|
||||||
|
[
|
||||||
|
1793392586.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392616.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392646.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392676.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392706.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392736.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392766.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392796.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392826.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392856.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392886.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392916.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392946.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392976.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793393006.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793393036.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793393066.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793393096.948,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"100 * (1 - avg(rate(node_cpu_seconds_total{mode=\"idle\",job=\"node-exporter\"}[1m]))) @ 2026-10-30T20:38:00Z": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {},
|
||||||
|
"value": [
|
||||||
|
1793392680,
|
||||||
|
"11.866666666668003"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"100 * (1 - avg(rate(node_cpu_seconds_total{mode=\"idle\",job=\"node-exporter\"}[1m]))) @ 2026-10-30T20:44:00Z": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {},
|
||||||
|
"value": [
|
||||||
|
1793393040,
|
||||||
|
"70.63333333333503"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"100 * (1 - avg(rate(node_cpu_seconds_total{mode=\"idle\",job=\"node-exporter\"}[1m]))) @ 2026-10-30T20:46:00Z": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {},
|
||||||
|
"value": [
|
||||||
|
1793393160,
|
||||||
|
"46.43333333333127"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,105 @@
|
|||||||
|
{
|
||||||
|
"requested_at": "2026-10-30T20:43:26.150656+00:00",
|
||||||
|
"build": {
|
||||||
|
"_class": "org.jenkinsci.plugins.workflow.job.WorkflowRun",
|
||||||
|
"actions": [
|
||||||
|
{
|
||||||
|
"_class": "hudson.model.CauseAction",
|
||||||
|
"causes": [
|
||||||
|
{
|
||||||
|
"_class": "hudson.model.Cause$UserIdCause",
|
||||||
|
"shortDescription": "Started by user sespinal-admin",
|
||||||
|
"userId": "sespinal-admin",
|
||||||
|
"userName": "sespinal-admin"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"_class": "jenkins.scm.api.SCMRevisionAction"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"_class": "org.jenkinsci.plugins.workflow.libs.LibrariesAction"
|
||||||
|
},
|
||||||
|
{},
|
||||||
|
{},
|
||||||
|
{
|
||||||
|
"_class": "hudson.plugins.git.util.BuildData",
|
||||||
|
"buildsByBranchName": {
|
||||||
|
"main": {
|
||||||
|
"_class": "hudson.plugins.git.util.Build",
|
||||||
|
"buildNumber": 3,
|
||||||
|
"buildResult": null,
|
||||||
|
"marked": {
|
||||||
|
"SHA1": "6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065",
|
||||||
|
"branch": [
|
||||||
|
{
|
||||||
|
"SHA1": "6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065",
|
||||||
|
"name": "main"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"revision": {
|
||||||
|
"SHA1": "6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065",
|
||||||
|
"branch": [
|
||||||
|
{
|
||||||
|
"SHA1": "6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065",
|
||||||
|
"name": "main"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"lastBuiltRevision": {
|
||||||
|
"SHA1": "6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065",
|
||||||
|
"branch": [
|
||||||
|
{
|
||||||
|
"SHA1": "6cfac4ec1e6d56dbb0b1a66bd59775b9db6ed065",
|
||||||
|
"name": "main"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"remoteUrls": [
|
||||||
|
"http://gitea:3000/group10-startup/startup-product.git"
|
||||||
|
],
|
||||||
|
"scmName": ""
|
||||||
|
},
|
||||||
|
{},
|
||||||
|
{},
|
||||||
|
{
|
||||||
|
"_class": "org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"_class": "org.jenkinsci.plugins.pipeline.modeldefinition.actions.RestartDeclarativePipelineAction"
|
||||||
|
},
|
||||||
|
{},
|
||||||
|
{
|
||||||
|
"_class": "org.jenkinsci.plugins.workflow.job.views.FlowGraphAction"
|
||||||
|
},
|
||||||
|
{},
|
||||||
|
{}
|
||||||
|
],
|
||||||
|
"artifacts": [],
|
||||||
|
"building": false,
|
||||||
|
"description": null,
|
||||||
|
"displayName": "#3",
|
||||||
|
"duration": 19806,
|
||||||
|
"estimatedDuration": 50140,
|
||||||
|
"executor": null,
|
||||||
|
"fullDisplayName": "startup-product \u00bb main #3",
|
||||||
|
"id": "3",
|
||||||
|
"keepLog": false,
|
||||||
|
"number": 3,
|
||||||
|
"queueId": 12816,
|
||||||
|
"result": "SUCCESS",
|
||||||
|
"timestamp": 1793393012534,
|
||||||
|
"url": "https://ci.165.227.90.215.sslip.io/job/startup-product-ci/job/main/3/",
|
||||||
|
"changeSets": [],
|
||||||
|
"culprits": [],
|
||||||
|
"inProgress": false,
|
||||||
|
"nextBuild": null,
|
||||||
|
"previousBuild": {
|
||||||
|
"number": 2,
|
||||||
|
"url": "https://ci.165.227.90.215.sslip.io/job/startup-product-ci/job/main/2/"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,204 @@
|
|||||||
|
{
|
||||||
|
"captured_at": "2026-10-30T20:51:37.878019+00:00",
|
||||||
|
"queries": {
|
||||||
|
"up": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "up",
|
||||||
|
"instance": "prometheus:9090",
|
||||||
|
"job": "prometheus"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393498.002,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "up",
|
||||||
|
"instance": "https://ci.165.227.90.215.sslip.io/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393498.002,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "up",
|
||||||
|
"instance": "node-exporter:9100",
|
||||||
|
"job": "node-exporter"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393498.002,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "up",
|
||||||
|
"instance": "https://git.sespinal590.dev/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393498.002,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "up",
|
||||||
|
"instance": "blackbox-exporter:9115",
|
||||||
|
"job": "blackbox-exporter"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393498.002,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"probe_success": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://ci.165.227.90.215.sslip.io/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393498.139,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://git.sespinal590.dev/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393498.139,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"probe_duration_seconds": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_duration_seconds",
|
||||||
|
"instance": "https://ci.165.227.90.215.sslip.io/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393498.271,
|
||||||
|
"0.043615857"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_duration_seconds",
|
||||||
|
"instance": "https://git.sespinal590.dev/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393498.271,
|
||||||
|
"0.050175626"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_memory_MemTotal_bytes": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "node_memory_MemTotal_bytes",
|
||||||
|
"instance": "node-exporter:9100",
|
||||||
|
"job": "node-exporter"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393498.403,
|
||||||
|
"2063564800"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_memory_MemAvailable_bytes": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "node_memory_MemAvailable_bytes",
|
||||||
|
"instance": "node-exporter:9100",
|
||||||
|
"job": "node-exporter"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393498.541,
|
||||||
|
"948740096"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"100 * (1 - avg by (instance) (rate(node_cpu_seconds_total{mode=\"idle\",job=\"node-exporter\"}[5m])))": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"instance": "node-exporter:9100"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393498.678,
|
||||||
|
"9.459259259259245"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"100 * node_filesystem_avail_bytes{job=\"node-exporter\",mountpoint=\"/\",device=\"/dev/vda1\",fstype=\"ext4\"} / node_filesystem_size_bytes{job=\"node-exporter\",mountpoint=\"/\",device=\"/dev/vda1\",fstype=\"ext4\"}": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"device": "/dev/vda1",
|
||||||
|
"fstype": "ext4",
|
||||||
|
"instance": "node-exporter:9100",
|
||||||
|
"job": "node-exporter",
|
||||||
|
"mountpoint": "/"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393498.81,
|
||||||
|
"19.76967666843447"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,322 @@
|
|||||||
|
{
|
||||||
|
"window_end": "2026-10-30T20:45:00Z",
|
||||||
|
"window_minutes": 10,
|
||||||
|
"queries": {
|
||||||
|
"avg_over_time(probe_success{job=\"https\"}[10m])": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"instance": "https://ci.165.227.90.215.sslip.io/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393100,
|
||||||
|
"0.65"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"instance": "https://git.sespinal590.dev/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393100,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"count_over_time(probe_success{job=\"https\"}[10m])": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"instance": "https://ci.165.227.90.215.sslip.io/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393100,
|
||||||
|
"20"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"instance": "https://git.sespinal590.dev/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393100,
|
||||||
|
"20"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sum_over_time(probe_success{job=\"https\"}[10m])": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"instance": "https://ci.165.227.90.215.sslip.io/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393100,
|
||||||
|
"13"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"instance": "https://git.sespinal590.dev/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393100,
|
||||||
|
"20"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"probe_success{job=\"https\"}": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://ci.165.227.90.215.sslip.io/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393100,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://git.sespinal590.dev/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793393100,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"100 * (1 - avg(rate(node_cpu_seconds_total{mode=\"idle\",job=\"node-exporter\"}[1m])))": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {},
|
||||||
|
"value": [
|
||||||
|
1793393100,
|
||||||
|
"16.000000000000604"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"probe_success{job=\"https\",instance=~\".*jenkins.*\"}[10m]": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "matrix",
|
||||||
|
"result": []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"probe_success{job=\"https\",instance=~\".*git.*\"}[10m]": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "matrix",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://git.sespinal590.dev/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"values": [
|
||||||
|
[
|
||||||
|
1793392526.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392556.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392586.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392616.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392646.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392676.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392706.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392736.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392766.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392796.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392826.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392856.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392886.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392916.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392946.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793392976.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793393006.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793393036.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793393066.948,
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1793393096.948,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"before_restart": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://ci.165.227.90.215.sslip.io/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793392800,
|
||||||
|
"0"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://git.sespinal590.dev/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793392800,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"after_restart": {
|
||||||
|
"status": "success",
|
||||||
|
"data": {
|
||||||
|
"resultType": "vector",
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://ci.165.227.90.215.sslip.io/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793392800,
|
||||||
|
"0"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": {
|
||||||
|
"__name__": "probe_success",
|
||||||
|
"instance": "https://git.sespinal590.dev/user/login",
|
||||||
|
"job": "https"
|
||||||
|
},
|
||||||
|
"value": [
|
||||||
|
1793392800,
|
||||||
|
"1"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"grafana_health": {
|
||||||
|
"database": "ok",
|
||||||
|
"version": "13.3.0",
|
||||||
|
"commit": "6f8ce3c693b493043ebcd4787566d2b6b118b0f0"
|
||||||
|
},
|
||||||
|
"dashboard_uid": "sre-overview",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"title": "HTTPS Service Unavailable",
|
||||||
|
"for": "1m"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Host Root Disk Space Low",
|
||||||
|
"for": "5m"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"contact_points": [
|
||||||
|
{
|
||||||
|
"uid": "team-discord",
|
||||||
|
"name": "team-alerts",
|
||||||
|
"type": "discord"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -360,3 +360,8 @@ mountpoint=/, device=/dev/vda1, fstype=ext4. Node memory total 2063564800 bytes
|
|||||||
matches the host. Dashboard screenshots, notification delivery, incident, pipeline,
|
matches the host. Dashboard screenshots, notification delivery, incident, pipeline,
|
||||||
persistence and final PDF evidence remain pending. A local preliminary PDF compiled,
|
persistence and final PDF evidence remain pending. A local preliminary PDF compiled,
|
||||||
but the automated workflow and glossary generation are not yet verified.
|
but the automated workflow and glossary generation are not yet verified.
|
||||||
|
|
||||||
|
|
||||||
|
## Completed exercise evidence, 2026-10-30
|
||||||
|
|
||||||
|
The measured deployment and incident report is in `devopsSREMonitoring.tex`. Both real alert pairs were received in Discord. Jenkins recovery build 3 passed and published its matching success status to Gitea. The 10-minute exercise recorded 20/20 successful Gitea observations and 13/20 Jenkins observations. Separate Prometheus/Grafana restarts retained history and configuration. Human peer review and main merge remain deferred. Earlier preparation/checkpoint sections describe the rollout sequence, not final evidence status. See `evidence/chapter5/` for sanitized records.
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ groups:
|
|||||||
type: prometheus
|
type: prometheus
|
||||||
uid: prometheus
|
uid: prometheus
|
||||||
editorMode: code
|
editorMode: code
|
||||||
expr: 'probe_success{job="https"}'
|
expr: 'probe_success{job="https"} or on(instance,job) (0 * up{job="https"})'
|
||||||
instant: true
|
instant: true
|
||||||
intervalMs: 30000
|
intervalMs: 30000
|
||||||
maxDataPoints: 43200
|
maxDataPoints: 43200
|
||||||
|
|||||||
Reference in New Issue
Block a user