forked from mtusi2026/mtusi2026lab3
49 lines
3.0 KiB
XML
49 lines
3.0 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="1100" height="600" viewBox="0 0 1100 600">
|
|
<rect width="100%" height="100%" fill="#0e1013"/>
|
|
<style>
|
|
text { font-family: Inter, Segoe UI, sans-serif; fill: #eceef0; }
|
|
.title { font-size: 26px; font-weight: 650; }
|
|
.label { font-size: 14px; fill: #c8cbd0; }
|
|
.small { font-size: 12px; fill: #a2a5aa; }
|
|
.grid { stroke: #34373d; stroke-width: 1; }
|
|
.bar { fill: #cfd2d6; }
|
|
.bar2 { fill: #73777f; }
|
|
.line { fill: none; stroke: #f4f5f6; stroke-width: 3; }
|
|
.error { fill: #8f949c; stroke: #f4f5f6; stroke-width: 1; }
|
|
.event { stroke: #a2a5aa; stroke-width: 2; stroke-dasharray: 6 5; }
|
|
</style>
|
|
<text x="48" y="42" class="title">Grade 4: peak container resources</text>
|
|
<text x="80" y="72" class="label">Peak CPU, %</text>
|
|
<rect x="98.9" y="288.9" width="46.2" height="161.1" rx="9" class="bar"/>
|
|
<text x="122.0" y="280.9" text-anchor="middle" class="small">49.5</text>
|
|
<text x="122.0" y="475" text-anchor="middle" class="small">api</text>
|
|
<rect x="182.9" y="423.8" width="46.2" height="26.2" rx="9" class="bar"/>
|
|
<text x="206.0" y="415.8" text-anchor="middle" class="small">8.1</text>
|
|
<text x="206.0" y="475" text-anchor="middle" class="small">frontend</text>
|
|
<rect x="266.9" y="354.2" width="46.2" height="95.8" rx="9" class="bar"/>
|
|
<text x="290.0" y="346.2" text-anchor="middle" class="small">29.4</text>
|
|
<text x="290.0" y="475" text-anchor="middle" class="small">load-balancer</text>
|
|
<rect x="350.9" y="90.0" width="46.2" height="360.0" rx="9" class="bar"/>
|
|
<text x="374.0" y="82.0" text-anchor="middle" class="small">110.6</text>
|
|
<text x="374.0" y="475" text-anchor="middle" class="small">postgres</text>
|
|
<rect x="434.9" y="428.6" width="46.2" height="21.4" rx="9" class="bar"/>
|
|
<text x="458.0" y="420.6" text-anchor="middle" class="small">6.6</text>
|
|
<text x="458.0" y="475" text-anchor="middle" class="small">redis</text>
|
|
<text x="600" y="72" class="label">Peak memory, MiB</text>
|
|
<rect x="618.9" y="321.9" width="46.2" height="128.1" rx="9" class="bar"/>
|
|
<text x="642.0" y="313.9" text-anchor="middle" class="small">66.2</text>
|
|
<text x="642.0" y="475" text-anchor="middle" class="small">api</text>
|
|
<rect x="702.9" y="426.4" width="46.2" height="23.6" rx="9" class="bar"/>
|
|
<text x="726.0" y="418.4" text-anchor="middle" class="small">12.2</text>
|
|
<text x="726.0" y="475" text-anchor="middle" class="small">frontend</text>
|
|
<rect x="786.9" y="412.0" width="46.2" height="38.0" rx="9" class="bar"/>
|
|
<text x="810.0" y="404.0" text-anchor="middle" class="small">19.6</text>
|
|
<text x="810.0" y="475" text-anchor="middle" class="small">load-balancer</text>
|
|
<rect x="870.9" y="90.0" width="46.2" height="360.0" rx="9" class="bar"/>
|
|
<text x="894.0" y="82.0" text-anchor="middle" class="small">185.9</text>
|
|
<text x="894.0" y="475" text-anchor="middle" class="small">postgres</text>
|
|
<rect x="954.9" y="417.8" width="46.2" height="32.2" rx="9" class="bar"/>
|
|
<text x="978.0" y="409.8" text-anchor="middle" class="small">16.6</text>
|
|
<text x="978.0" y="475" text-anchor="middle" class="small">redis</text>
|
|
</svg>
|