Skip to content

The only tool you need to know what is happening and how to fix it.

9.3 KB
Raw Blame
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 15.1.1 (20260805.0921)
 -->
<!-- Title: monitor_run_lifecycle Pages: 1 -->
<svg width="829pt" height="528pt"
 viewBox="0.00 0.00 829.00 528.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(14.4 513.67)">
<title>monitor_run_lifecycle</title>
<!-- scheduler -->
<g id="node1" class="node">
<title>scheduler</title>
<path fill="#0f131c" stroke="#283041" stroke-width="1.3" d="M584.45,-499.27C584.45,-499.27 275,-499.27 275,-499.27 269,-499.27 263,-493.27 263,-487.27 263,-487.27 263,-459.35 263,-459.35 263,-453.35 269,-447.35 275,-447.35 275,-447.35 584.45,-447.35 584.45,-447.35 590.45,-447.35 596.45,-453.35 596.45,-459.35 596.45,-459.35 596.45,-487.27 596.45,-487.27 596.45,-493.27 590.45,-499.27 584.45,-499.27"/>
<text xml:space="preserve" text-anchor="start" x="368.6" y="-474.01" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#f4f6fb">the scheduler ticks</text>
<text xml:space="preserve" text-anchor="start" x="284.6" y="-461.91" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#8a93a6">every few seconds, finds checks whose next run is due</text>
</g>
<!-- queue -->
<g id="node2" class="node">
<title>queue</title>
<path fill="#1c1710" stroke="#f0a020" stroke-width="1.3" d="M625.33,-416.35C625.33,-416.35 234.13,-416.35 234.13,-416.35 228.12,-416.35 222.13,-410.35 222.13,-404.35 222.13,-404.35 222.13,-376.43 222.13,-376.43 222.13,-370.43 228.13,-364.43 234.13,-364.43 234.13,-364.43 625.33,-364.43 625.33,-364.43 631.33,-364.43 637.33,-370.43 637.33,-376.43 637.33,-376.43 637.33,-404.35 637.33,-404.35 637.33,-410.35 631.33,-416.35 625.33,-416.35"/>
<text xml:space="preserve" text-anchor="start" x="397.1" y="-391.09" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#f4f6fb">run queue</text>
<text xml:space="preserve" text-anchor="start" x="243.73" y="-378.99" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#ffc46b">durable rows in the main DB: claims are guarded, restarts lose nothing</text>
</g>
<!-- scheduler&#45;&gt;queue -->
<g id="edge1" class="edge">
<title>scheduler&#45;&gt;queue</title>
<path fill="none" stroke="#5a6374" stroke-width="1.4" d="M429.73,-446.71C429.73,-440.45 429.73,-433.64 429.73,-427"/>
<polygon fill="#5a6374" stroke="#5a6374" stroke-width="1.4" points="432.7,-427.45 429.73,-418.95 426.75,-427.45 432.7,-427.45"/>
</g>
<!-- executor -->
<g id="node3" class="node">
<title>executor</title>
<path fill="#151a24" stroke="#283041" stroke-width="1.3" d="M579.2,-333.43C579.2,-333.43 280.25,-333.43 280.25,-333.43 274.25,-333.43 268.25,-327.43 268.25,-321.43 268.25,-321.43 268.25,-293.51 268.25,-293.51 268.25,-287.51 274.25,-281.51 280.25,-281.51 280.25,-281.51 579.2,-281.51 579.2,-281.51 585.2,-281.51 591.2,-287.51 591.2,-293.51 591.2,-293.51 591.2,-321.43 591.2,-321.43 591.2,-327.43 585.2,-333.43 579.2,-333.43"/>
<text xml:space="preserve" text-anchor="start" x="343.85" y="-308.17" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#f4f6fb">an executor claims the run</text>
<text xml:space="preserve" text-anchor="start" x="289.85" y="-296.07" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#8a93a6">http and tcp in&#45;process · browser per execution mode</text>
</g>
<!-- queue&#45;&gt;executor -->
<g id="edge2" class="edge">
<title>queue&#45;&gt;executor</title>
<path fill="none" stroke="#5a6374" stroke-width="1.4" d="M429.73,-363.79C429.73,-357.53 429.73,-350.72 429.73,-344.08"/>
<polygon fill="#5a6374" stroke="#5a6374" stroke-width="1.4" points="432.7,-344.53 429.73,-336.03 426.75,-344.53 432.7,-344.53"/>
</g>
<!-- result -->
<g id="node5" class="node">
<title>result</title>
<path fill="#151a24" stroke="#283041" stroke-width="1.3" d="M560.08,-134.84C560.08,-134.84 299.38,-134.84 299.38,-134.84 293.38,-134.84 287.38,-128.84 287.38,-122.84 287.38,-122.84 287.38,-94.92 287.38,-94.92 287.38,-88.92 293.38,-82.92 299.38,-82.92 299.38,-82.92 560.08,-82.92 560.08,-82.92 566.08,-82.92 572.08,-88.92 572.08,-94.92 572.08,-94.92 572.08,-122.84 572.08,-122.84 572.08,-128.84 566.08,-134.84 560.08,-134.84"/>
<text xml:space="preserve" text-anchor="start" x="351.73" y="-109.58" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#f4f6fb">result lands in telemetry</text>
<text xml:space="preserve" text-anchor="start" x="308.98" y="-97.48" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#8a93a6">status, latency, error, failure screenshot + logs</text>
</g>
<!-- queue&#45;&gt;result -->
<g id="edge7" class="edge">
<title>queue:e&#45;&gt;result:e</title>
<path fill="none" stroke="#ff5a5f" stroke-width="1.4" stroke-dasharray="5,2" d="M638.33,-390.39C763.25,-390.39 704.93,-124.06 583.47,-109.5"/>
<polygon fill="#ff5a5f" stroke="#ff5a5f" stroke-width="1.4" points="583.85,-106.54 575.19,-109.01 583.5,-112.48 583.85,-106.54"/>
<text xml:space="preserve" text-anchor="start" x="705.21" y="-257.01" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#ff8a8d"> &#160;past its window:</text>
<text xml:space="preserve" text-anchor="start" x="705.21" y="-245.76" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#ff8a8d"> &#160;recorded as missed,</text>
<text xml:space="preserve" text-anchor="start" x="705.21" y="-234.51" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#ff8a8d"> &#160;never executed late</text>
</g>
<!-- probe -->
<g id="node4" class="node">
<title>probe</title>
<path fill="#151a24" stroke="#283041" stroke-width="1.3" d="M600.2,-217.76C600.2,-217.76 259.25,-217.76 259.25,-217.76 253.25,-217.76 247.25,-211.76 247.25,-205.76 247.25,-205.76 247.25,-177.84 247.25,-177.84 247.25,-171.84 253.25,-165.84 259.25,-165.84 259.25,-165.84 600.2,-165.84 600.2,-165.84 606.2,-165.84 612.2,-171.84 612.2,-177.84 612.2,-177.84 612.2,-205.76 612.2,-205.76 612.2,-211.76 606.2,-217.76 600.2,-217.76"/>
<text xml:space="preserve" text-anchor="start" x="382.48" y="-192.5" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#f4f6fb">the probe runs</text>
<text xml:space="preserve" text-anchor="start" x="268.85" y="-180.4" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#8a93a6">HTTP request · TCP connect · Playwright script in Chromium</text>
</g>
<!-- executor&#45;&gt;probe -->
<g id="edge3" class="edge">
<title>executor&#45;&gt;probe</title>
<path fill="none" stroke="#5a6374" stroke-width="1.4" d="M429.73,-280.96C429.73,-265.46 429.73,-245.43 429.73,-228.39"/>
<polygon fill="#5a6374" stroke="#5a6374" stroke-width="1.4" points="432.7,-228.84 429.73,-220.34 426.75,-228.84 432.7,-228.84"/>
</g>
<!-- probe&#45;&gt;result -->
<g id="edge4" class="edge">
<title>probe&#45;&gt;result</title>
<path fill="none" stroke="#5a6374" stroke-width="1.4" d="M429.73,-165.2C429.73,-158.94 429.73,-152.13 429.73,-145.49"/>
<polygon fill="#5a6374" stroke="#5a6374" stroke-width="1.4" points="432.7,-145.94 429.73,-137.44 426.75,-145.94 432.7,-145.94"/>
</g>
<!-- alerts -->
<g id="node6" class="node">
<title>alerts</title>
<path fill="#15121f" stroke="#7c5cff" stroke-width="1.3" d="M441.45,-51.92C441.45,-51.92 12,-51.92 12,-51.92 6,-51.92 0,-45.92 0,-39.92 0,-39.92 0,-12 0,-12 0,-6 6,0 12,0 12,0 441.45,0 441.45,0 447.45,0 453.45,-6 453.45,-12 453.45,-12 453.45,-39.92 453.45,-39.92 453.45,-45.92 447.45,-51.92 441.45,-51.92"/>
<text xml:space="preserve" text-anchor="start" x="179.1" y="-26.66" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#f4f6fb">alerts + on&#45;call</text>
<text xml:space="preserve" text-anchor="start" x="21.6" y="-14.56" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#b9a7ff">down after N consecutive failures · recovery notifies or auto&#45;resolves the page</text>
</g>
<!-- result&#45;&gt;alerts -->
<g id="edge5" class="edge">
<title>result&#45;&gt;alerts</title>
<path fill="none" stroke="#5a6374" stroke-width="1.4" d="M365.49,-82.28C344.84,-74.04 321.81,-64.86 300.52,-56.38"/>
<polygon fill="#5a6374" stroke="#5a6374" stroke-width="1.4" points="301.85,-53.7 292.85,-53.32 299.65,-59.23 301.85,-53.7"/>
</g>
<!-- status -->
<g id="node7" class="node">
<title>status</title>
<path fill="#0c1714" stroke="#22e0a8" stroke-width="1.3" d="M776.58,-51.92C776.58,-51.92 488.88,-51.92 488.88,-51.92 482.88,-51.92 476.88,-45.92 476.88,-39.92 476.88,-39.92 476.88,-12 476.88,-12 476.88,-6 482.88,0 488.88,0 488.88,0 776.58,0 776.58,0 782.58,0 788.58,-6 788.58,-12 788.58,-12 788.58,-39.92 788.58,-39.92 788.58,-45.92 782.58,-51.92 776.58,-51.92"/>
<text xml:space="preserve" text-anchor="start" x="591.48" y="-26.66" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#f4f6fb">status pages</text>
<text xml:space="preserve" text-anchor="start" x="498.48" y="-14.56" font-family="Helvetica,sans-Serif" font-size="12.00" fill="#7ff0c8">90 days of public per&#45;day uptime, no login required</text>
</g>
<!-- result&#45;&gt;status -->
<g id="edge6" class="edge">
<title>result&#45;&gt;status</title>
<path fill="none" stroke="#5a6374" stroke-width="1.4" d="M493.96,-82.28C514.61,-74.04 537.64,-64.86 558.93,-56.38"/>
<polygon fill="#5a6374" stroke="#5a6374" stroke-width="1.4" points="559.8,-59.23 566.6,-53.32 557.6,-53.7 559.8,-59.23"/>
</g>
</g>
</svg>