forked from mtusi2026/mtusi2026lab3
43 lines
2.5 KiB
XML
43 lines
2.5 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="103.6" y="270.1" width="57.8" height="179.9" rx="9" class="bar"/>
|
|
<text x="132.5" y="262.1" text-anchor="middle" class="small">52.6</text>
|
|
<text x="132.5" y="475" text-anchor="middle" class="small">api</text>
|
|
<rect x="208.6" y="370.1" width="57.8" height="79.9" rx="9" class="bar"/>
|
|
<text x="237.5" y="362.1" text-anchor="middle" class="small">23.4</text>
|
|
<text x="237.5" y="475" text-anchor="middle" class="small">load-balancer</text>
|
|
<rect x="313.6" y="90.0" width="57.8" height="360.0" rx="9" class="bar"/>
|
|
<text x="342.5" y="82.0" text-anchor="middle" class="small">105.2</text>
|
|
<text x="342.5" y="475" text-anchor="middle" class="small">postgres</text>
|
|
<rect x="418.6" y="429.9" width="57.8" height="20.1" rx="9" class="bar"/>
|
|
<text x="447.5" y="421.9" text-anchor="middle" class="small">5.9</text>
|
|
<text x="447.5" y="475" text-anchor="middle" class="small">redis</text>
|
|
<text x="600" y="72" class="label">Peak memory, MiB</text>
|
|
<rect x="623.6" y="286.2" width="57.8" height="163.8" rx="9" class="bar"/>
|
|
<text x="652.5" y="278.2" text-anchor="middle" class="small">66.1</text>
|
|
<text x="652.5" y="475" text-anchor="middle" class="small">api</text>
|
|
<rect x="728.6" y="416.5" width="57.8" height="33.5" rx="9" class="bar"/>
|
|
<text x="757.5" y="408.5" text-anchor="middle" class="small">13.5</text>
|
|
<text x="757.5" y="475" text-anchor="middle" class="small">load-balancer</text>
|
|
<rect x="833.6" y="90.0" width="57.8" height="360.0" rx="9" class="bar"/>
|
|
<text x="862.5" y="82.0" text-anchor="middle" class="small">145.2</text>
|
|
<text x="862.5" y="475" text-anchor="middle" class="small">postgres</text>
|
|
<rect x="938.6" y="419.6" width="57.8" height="30.4" rx="9" class="bar"/>
|
|
<text x="967.5" y="411.6" text-anchor="middle" class="small">12.3</text>
|
|
<text x="967.5" y="475" text-anchor="middle" class="small">redis</text>
|
|
</svg>
|