18 lines
3.0 KiB
XML
18 lines
3.0 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 720 500" role="img" aria-labelledby="title desc">
|
|
<title id="title">Петля проверки гипотезы</title>
|
|
<desc id="desc">Диаграмма соединяет внешний симптом, две проверяемые гипотезы и сигнал, который отличает их. При отсутствии записи цепочка возвращается к качеству журналирования.</desc>
|
|
<defs><marker id="arrow" markerWidth="10" markerHeight="10" refX="8" refY="3" orient="auto"><path d="M0,0 L9,3 L0,6 Z" fill="#2563eb"/></marker><marker id="red" markerWidth="10" markerHeight="10" refX="8" refY="3" orient="auto"><path d="M0,0 L9,3 L0,6 Z" fill="#dc2626"/></marker></defs>
|
|
<rect width="720" height="500" fill="#f8fafc"/>
|
|
<style>text{font-family:Arial,sans-serif;fill:#172554}.head{font-size:24px;font-weight:700}.label{font-size:16px;font-weight:700}.small{font-size:13px}.box{fill:#dbeafe;stroke:#2563eb;stroke-width:2}.ok{fill:#dcfce7;stroke:#15803d;stroke-width:2}.stop{fill:#fef2f2;stroke:#dc2626;stroke-width:2}</style>
|
|
<text x="38" y="48" class="head">Петля: гипотеза должна изменить проверку</text>
|
|
<rect x="44" y="130" width="174" height="82" rx="12" class="box"/><text x="131" y="164" text-anchor="middle" class="label">Симптом</text><text x="131" y="188" text-anchor="middle" class="small">edge 502</text>
|
|
<rect x="273" y="130" width="174" height="82" rx="12" class="box"/><text x="360" y="164" text-anchor="middle" class="label">Гипотеза</text><text x="360" y="188" text-anchor="middle" class="small">gateway или app</text>
|
|
<rect x="502" y="130" width="174" height="82" rx="12" class="box"/><text x="589" y="164" text-anchor="middle" class="label">Сигнал</text><text x="589" y="188" text-anchor="middle" class="small">одинаковый request-id</text>
|
|
<path d="M218 171h52M447 171h52" stroke="#2563eb" stroke-width="4" marker-end="url(#arrow)"/>
|
|
<rect x="251" y="320" width="218" height="78" rx="12" class="ok"/><text x="360" y="351" text-anchor="middle" class="label" fill="#14532d">Решение</text><text x="360" y="375" text-anchor="middle" class="small" fill="#14532d">следующий конкретный запрос</text>
|
|
<path d="M589 212v72H360v32" fill="none" stroke="#2563eb" stroke-width="4" marker-end="url(#arrow)"/>
|
|
<rect x="44" y="320" width="160" height="78" rx="12" class="stop"/><text x="124" y="351" text-anchor="middle" class="label" fill="#991b1b">Разрыв</text><text x="124" y="375" text-anchor="middle" class="small" fill="#991b1b">проверить collector</text>
|
|
<path d="M273 212v72H124v32" fill="none" stroke="#dc2626" stroke-width="3" marker-end="url(#red)"/>
|
|
<text x="360" y="456" text-anchor="middle" class="small">Идентификатор связывает записи, но причинность требует времени, статуса и границы операции.</text>
|
|
</svg>
|