refactor: 문서 개선 중

This commit is contained in:
donghyeon-ka
2026-09-21 14:30:55 +09:00
parent c93cdea150
commit 805a18f486
1497 changed files with 525837 additions and 59152 deletions
@@ -2,7 +2,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="680" height="462" viewBox="0 0 680 462" role="img" aria-labelledby="diagram-title diagram-description">
<title id="diagram-title">관측을 어디에 둘 것인가</title>
<desc id="diagram-description">처음에는 외부 curl 로만 쟀다. A-1 에서 7800 을 끊었는데 외부 응답이 전부 200 이었다. 장애가 없어서가 아니라 분단된 노드가 readiness 실패로 스스로 로드밸런서에서 빠졌기 때문이다. 그래서 관측 지점을 셋으로 늘렸다. up 지표도 신뢰할 수 없었다 — A-2 에서 503 이 나는 동안에도 1이었다. 프로세스가 살아 있고 metrics 가 응답하면 up 은 1이며 살아 있지만 쓸모없는 상태를 못 본다.</desc>
<metadata>{&quot;techviz&quot;:{&quot;spec_version&quot;:&quot;1.1&quot;,&quot;id&quot;:&quot;observation-points&quot;,&quot;profile&quot;:&quot;component-flow&quot;},&quot;source_context&quot;:{&quot;document&quot;:&quot;docs/keycloak-session-store/final/document.md&quot;,&quot;document_sha256&quot;:&quot;1d44cba1905544d92f1d26ae36a8deb64a3db3914d6b488fd30d6ae7f8cfbabe&quot;,&quot;anchor&quot;:{&quot;kind&quot;:&quot;heading&quot;,&quot;value&quot;:&quot;관측을 어디에 둘 것인가&quot;,&quot;line&quot;:140}},&quot;evidence_policy&quot;:&quot;Each factual element cites source lines or is marked assumption.&quot;,&quot;diagram_only&quot;:true}</metadata>
<metadata>{&quot;techviz&quot;:{&quot;spec_version&quot;:&quot;1.1&quot;,&quot;id&quot;:&quot;observation-points&quot;,&quot;profile&quot;:&quot;component-flow&quot;},&quot;source_context&quot;:{&quot;document&quot;:&quot;docs/keycloak-session-store/final/document.md&quot;,&quot;document_sha256&quot;:&quot;28aef96a2bbb94fbb10ade26a71238fee62a5a4d9fa6e7749ae98cfd0a65e560&quot;,&quot;anchor&quot;:{&quot;kind&quot;:&quot;heading&quot;,&quot;value&quot;:&quot;관측을 어디에 둘 것인가&quot;,&quot;line&quot;:328}},&quot;evidence_policy&quot;:&quot;Each factual element cites source lines or is marked assumption.&quot;,&quot;diagram_only&quot;:true}</metadata>
<defs>
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
<path d="M 0 0 L 10 5 L 0 10 z" />
@@ -50,35 +50,35 @@
</style>
</defs>
<rect class="canvas" width="680" height="462" />
<polyline class="edge kind-read style-solid emphasis-normal" points="220.0,220.5 323.5,220.5 323.5,95.5 427.0,95.5" data-evidence="143-147" />
<polyline class="edge kind-read style-solid emphasis-normal" points="220.0,220.5 323.5,220.5 323.5,95.5 427.0,95.5" data-evidence="331-333" />
<rect class="edge-label-bg" x="321.8" y="144.0" width="51.5" height="22" rx="3" />
<text class="edge-label" x="347.5" y="159.0">외부 응답</text>
<polyline class="edge kind-read style-solid emphasis-normal" points="220.0,256.5 317.5,256.5 317.5,381.5 415.0,381.5" data-evidence="143-147" />
<polyline class="edge kind-read style-solid emphasis-normal" points="220.0,256.5 317.5,256.5 317.5,381.5 415.0,381.5" data-evidence="331-333" />
<rect class="edge-label-bg" x="315.8" y="305.0" width="51.5" height="22" rx="3" />
<text class="edge-label" x="341.5" y="320.0">저장 결과</text>
<polyline class="edge kind-read style-solid emphasis-normal" points="220.0,238.5 300.0,238.5 300.0,238.5 380.0,238.5" data-evidence="143-147" />
<polyline class="edge kind-read style-solid emphasis-normal" points="220.0,238.5 300.0,238.5 300.0,238.5 380.0,238.5" data-evidence="331-333" />
<rect class="edge-label-bg" x="274.2" y="196.5" width="51.5" height="22" rx="3" />
<text class="edge-label" x="300.0" y="211.5">내부 지표</text>
<g id="node-system">
<rect class="node-shape kind-service emphasis-primary role-source" data-evidence="141-146" x="70.0" y="203.0" width="150.0" height="71.0" rx="7" />
<rect class="node-shape kind-service emphasis-primary role-source" data-evidence="330-332" x="70.0" y="203.0" width="150.0" height="71.0" rx="7" />
<text class="node-label" x="145.0" y="230.0">Keycloak 클러스터</text>
<line class="node-detail-divider" x1="84.0" y1="251.0" x2="206.0" y2="251.0" />
<text class="node-detail" x="86.0" y="268.0">두 노드</text>
</g>
<g id="node-curl">
<rect class="node-shape kind-process emphasis-normal role-target" data-evidence="143-147" x="427.0" y="60.0" width="150.0" height="71.0" rx="7" />
<rect class="node-shape kind-process emphasis-normal role-target" data-evidence="331-333" x="427.0" y="60.0" width="150.0" height="71.0" rx="7" />
<text class="node-label" x="502.0" y="87.0">외부 curl</text>
<line class="node-detail-divider" x1="441.0" y1="108.0" x2="563.0" y2="108.0" />
<text class="node-detail" x="443.0" y="125.0">분단 시에도 200</text>
</g>
<g id="node-prom">
<rect class="node-shape kind-process emphasis-primary role-target" data-evidence="143-147" x="380.0" y="203.0" width="244.0" height="71.0" rx="7" />
<rect class="node-shape kind-process emphasis-primary role-target" data-evidence="331-333" x="380.0" y="203.0" width="244.0" height="71.0" rx="7" />
<text class="node-label" x="502.0" y="230.0">Prometheus 지표</text>
<line class="node-detail-divider" x1="394.0" y1="251.0" x2="610.0" y2="251.0" />
<text class="node-detail" x="396.0" y="268.0">vendor_cluster_size · agroal_*</text>
</g>
<g id="node-psql">
<rect class="node-shape kind-process emphasis-primary role-target" data-evidence="143-147" x="415.0" y="346.0" width="174.0" height="71.0" rx="7" />
<rect class="node-shape kind-process emphasis-primary role-target" data-evidence="331-333" x="415.0" y="346.0" width="174.0" height="71.0" rx="7" />
<text class="node-label" x="502.0" y="373.0">PostgreSQL 직접 조회</text>
<line class="node-detail-divider" x1="429.0" y1="394.0" x2="575.0" y2="394.0" />
<text class="node-detail" x="431.0" y="411.0">OFFLINE_USER_SESSION</text>

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB