- api и worker отдают traces, metrics и logs по OTLP в Collector (memory_limiter, redaction, batch, ограниченная очередь и retry); хранилища: Prometheus (OTLP receiver), Loki, Tempo; Grafana с provisioning datasources и dashboard «Messenger lab6» - W3C trace context через outbox и RabbitMQ: producer/consumer spans связывают upload, публикации и попытки worker в одном trace - SLO доступности API (SLI на HAProxy) и времени до ready, multiwindow burn-rate alerts, ApiHighErrorRate, JobQueueLagGrowing, DbPoolSaturated, TelemetryExportFailing; unit-тесты promtool, runbooks - кампания трека 2 (k6, 6 отказов по расписанию), разбор и графики; проверки сигналов и истории telemetry, evidence и REPORT.md
28 lines
3.8 KiB
XML
28 lines
3.8 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="1300" height="430" font-family="sans-serif" font-size="11">
|
|
<rect width="1300" height="430" fill="white"/>
|
|
<rect x="300.8" y="20" width="317.3" height="260" fill="#eeeeee"/><text x="303.8" y="32" fill="#555">worker-stop</text>
|
|
<rect x="1173.4" y="20" width="54.2" height="260" fill="#eeeeee"/><text x="1176.4" y="44" fill="#555">collector-down</text>
|
|
<line x1="170" x2="1280" y1="280.0" y2="280.0" stroke="#ddd"/><text x="164" y="284.0" text-anchor="end">0%</text>
|
|
<line x1="170" x2="1280" y1="215.0" y2="215.0" stroke="#ddd"/><text x="164" y="219.0" text-anchor="end">25%</text>
|
|
<line x1="170" x2="1280" y1="150.0" y2="150.0" stroke="#ddd"/><text x="164" y="154.0" text-anchor="end">50%</text>
|
|
<line x1="170" x2="1280" y1="85.0" y2="85.0" stroke="#ddd"/><text x="164" y="89.0" text-anchor="end">75%</text>
|
|
<line x1="170" x2="1280" y1="20.0" y2="20.0" stroke="#ddd"/><text x="164" y="24.0" text-anchor="end">100%</text>
|
|
<polyline fill="none" stroke="#d62728" stroke-width="1.5" points="170.0,280.0 196.2,280.0 222.4,280.0 248.5,280.0 274.7,280.0 300.9,280.0 327.1,280.0 353.2,280.0 379.4,280.0 405.6,280.0 431.8,280.0 458.0,280.0 484.1,280.0 510.3,280.0 536.5,280.0"/>
|
|
<polyline fill="none" stroke="#d62728" stroke-width="1.5" points="641.2,20.0 667.4,68.6 693.6,72.3 719.7,87.1 745.9,89.3 772.1,99.1 798.3,107.1 824.4,116.0 850.6,120.5 876.8,129.4 903.0,280.0 929.2,280.0 955.3,280.0 981.5,280.0 1007.7,280.0 1033.9,280.0 1060.0,280.0 1086.2,280.0 1112.4,280.0 1138.6,280.0 1164.8,280.0 1190.9,280.0 1217.1,280.0 1243.3,280.0 1269.5,280.0"/>
|
|
<rect x="170" y="400" width="12" height="3" fill="#d62728"/><text x="186" y="405">плохие вложения, 5m</text>
|
|
<polyline fill="none" stroke="#1f77b4" stroke-width="1.5" points="170.0,279.8 196.2,279.8 222.4,279.8 248.5,280.0 274.7,280.0 300.9,280.0 327.1,280.0 353.2,280.0 379.4,280.0 405.6,280.0 431.8,280.0 458.0,280.0 484.1,280.0 510.3,280.0 536.5,280.0 562.7,280.0 588.8,280.0 615.0,280.0 641.2,241.6 667.4,238.9 693.6,239.0 719.7,239.6 745.9,239.7 772.1,240.1 798.3,240.5 824.4,240.9 850.6,241.2 876.8,241.8 903.0,241.9 929.2,242.3 955.3,242.9 981.5,243.4 1007.7,244.0 1033.9,244.6 1060.0,245.2 1086.2,245.7 1112.4,246.2 1138.6,246.6 1164.8,246.8 1190.9,246.9 1217.1,246.9 1243.3,247.9 1269.5,248.3"/>
|
|
<rect x="430" y="400" width="12" height="3" fill="#1f77b4"/><text x="446" y="405">SLI 1h (fast: > 14.4 %)</text>
|
|
<polyline fill="none" stroke="#2ca02c" stroke-width="1.5" points="170.0,279.8 196.2,279.8 222.4,279.8 248.5,279.8 274.7,279.8 300.9,279.8 327.1,279.8 353.2,279.8 379.4,279.8 405.6,279.8 431.8,279.8 458.0,279.8 484.1,279.8 510.3,279.8 536.5,279.8 562.7,279.8 588.8,279.8 615.0,279.8 641.2,241.7 667.4,239.5 693.6,239.7 719.7,240.3 745.9,240.3 772.1,240.7 798.3,241.1 824.4,241.6 850.6,241.9 876.8,242.4 903.0,242.5 929.2,242.9 955.3,243.5 981.5,244.0 1007.7,244.5 1033.9,245.1 1060.0,245.7 1086.2,246.2 1112.4,246.7 1138.6,247.1 1164.8,247.3 1190.9,247.3 1217.1,247.3 1243.3,248.3 1269.5,248.7"/>
|
|
<rect x="690" y="400" width="12" height="3" fill="#2ca02c"/><text x="706" y="405">SLI 6h (slow: > 6 %)</text>
|
|
<text x="164" y="311" text-anchor="end">JobQueueLagGrowing</text>
|
|
<rect x="466.7" y="302" width="183.2" height="10" fill="#ff7f0e"/>
|
|
<text x="164" y="325" text-anchor="end">ReadyLatencyFastBurn</text>
|
|
<rect x="649.9" y="316" width="261.8" height="10" fill="#ff7f0e"/>
|
|
<text x="164" y="339" text-anchor="end">ReadyLatencySlowBurn</text>
|
|
<rect x="649.9" y="330" width="637.0" height="10" fill="#ff7f0e"/>
|
|
<text x="170.0" y="14" text-anchor="middle" fill="#555">0 мин</text>
|
|
<text x="431.8" y="14" text-anchor="middle" fill="#555">5 мин</text>
|
|
<text x="693.6" y="14" text-anchor="middle" fill="#555">10 мин</text>
|
|
<text x="955.3" y="14" text-anchor="middle" fill="#555">15 мин</text>
|
|
<text x="1217.1" y="14" text-anchor="middle" fill="#555">20 мин</text>
|
|
</svg> |