Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

fix images in logs lab #13

Merged
merged 1 commit into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<mxfile host="app.diagrams.net" modified="2024-04-16T18:21:09.035Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36" version="24.2.5" etag="SFdvUj8dWGPdkliX2-cs" type="google">
<diagram name="Page-1" id="wXCwAQpNhxRYtfd2kLmk">
<mxGraphModel dx="1446" dy="754" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="2" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;sketch=1;curveFitting=1;jiggle=2;curved=1;fontSize=13;" edge="1" source="3" target="12" parent="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="3" value="&lt;div style=&quot;font-size: 13px;&quot;&gt;Container 2&lt;/div&gt;&lt;div style=&quot;font-size: 13px;&quot;&gt;&lt;br style=&quot;font-size: 13px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 13px;&quot;&gt;JAVA 17 / Spring Boot&lt;/div&gt;&lt;div style=&quot;font-size: 13px;&quot;&gt;&lt;br style=&quot;font-size: 13px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 13px;&quot;&gt;Promtail&lt;br style=&quot;font-size: 13px;&quot;&gt;&lt;/div&gt;" style="html=1;whiteSpace=wrap;sketch=1;curveFitting=1;jiggle=2;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;fontSize=13;" vertex="1" parent="1">
<mxGeometry x="280" y="160" width="160" height="80" as="geometry" />
</mxCell>
<mxCell id="4" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;sketch=1;curveFitting=1;jiggle=2;curved=1;fontSize=13;" edge="1" source="5" target="12" parent="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="5" value="&lt;div style=&quot;font-size: 13px;&quot;&gt;Container 1&lt;/div&gt;&lt;div style=&quot;font-size: 13px;&quot;&gt;&lt;br style=&quot;font-size: 13px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 13px;&quot;&gt;JAVA 21 / Spring Boot&lt;/div&gt;&lt;div style=&quot;font-size: 13px;&quot;&gt;&lt;br style=&quot;font-size: 13px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 13px;&quot;&gt;Promtail&lt;br style=&quot;font-size: 13px;&quot;&gt;&lt;/div&gt;" style="html=1;whiteSpace=wrap;sketch=1;curveFitting=1;jiggle=2;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;fontSize=13;" vertex="1" parent="1">
<mxGeometry x="280" y="40" width="160" height="80" as="geometry" />
</mxCell>
<mxCell id="6" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;sketch=1;curveFitting=1;jiggle=2;curved=1;fontSize=13;" edge="1" source="7" parent="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="640" y="320" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="7" value="&lt;div style=&quot;font-size: 13px;&quot;&gt;Container 3&lt;/div&gt;&lt;div style=&quot;font-size: 13px;&quot;&gt;&lt;br style=&quot;font-size: 13px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 13px;&quot;&gt;Python / Flask&lt;/div&gt;&lt;div style=&quot;font-size: 13px;&quot;&gt;&lt;br style=&quot;font-size: 13px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 13px;&quot;&gt;Otel Collector&lt;br style=&quot;font-size: 13px;&quot;&gt;&lt;/div&gt;" style="html=1;whiteSpace=wrap;sketch=1;curveFitting=1;jiggle=2;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;fontSize=13;" vertex="1" parent="1">
<mxGeometry x="280" y="280" width="160" height="80" as="geometry" />
</mxCell>
<mxCell id="8" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;sketch=1;curveFitting=1;jiggle=2;curved=1;fontSize=13;" edge="1" source="9" target="12" parent="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="9" value="&lt;div style=&quot;font-size: 13px;&quot;&gt;Container 4&lt;/div&gt;&lt;div style=&quot;font-size: 13px;&quot;&gt;&lt;br style=&quot;font-size: 13px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 13px;&quot;&gt;Rust / Warp&lt;br style=&quot;font-size: 13px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 13px;&quot;&gt;&lt;br style=&quot;font-size: 13px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 13px;&quot;&gt;Promtail&lt;br style=&quot;font-size: 13px;&quot;&gt;&lt;/div&gt;" style="html=1;whiteSpace=wrap;sketch=1;curveFitting=1;jiggle=2;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;fontSize=13;" vertex="1" parent="1">
<mxGeometry x="280" y="400" width="160" height="80" as="geometry" />
</mxCell>
<mxCell id="10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;sketch=1;curveFitting=1;jiggle=2;curved=1;fontSize=13;" edge="1" source="11" target="12" parent="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="11" value="&lt;div style=&quot;font-size: 13px;&quot;&gt;Container 5&lt;/div&gt;&lt;div style=&quot;font-size: 13px;&quot;&gt;&lt;br style=&quot;font-size: 13px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 13px;&quot;&gt;Rust / Actix Web&lt;/div&gt;&lt;div style=&quot;font-size: 13px;&quot;&gt;&lt;br style=&quot;font-size: 13px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 13px;&quot;&gt;Fluent Bit&lt;br style=&quot;font-size: 13px;&quot;&gt;&lt;/div&gt;" style="html=1;whiteSpace=wrap;sketch=1;curveFitting=1;jiggle=2;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;fontSize=13;" vertex="1" parent="1">
<mxGeometry x="280" y="520" width="160" height="80" as="geometry" />
</mxCell>
<mxCell id="12" value="Grafana Loki" style="html=1;whiteSpace=wrap;sketch=1;curveFitting=1;jiggle=2;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=13;" vertex="1" parent="1">
<mxGeometry x="640" y="280" width="160" height="80" as="geometry" />
</mxCell>
<mxCell id="13" value="" style="verticalLabelPosition=bottom;html=1;verticalAlign=top;align=center;strokeColor=none;fillColor=#00BEF2;shape=mxgraph.azure.vhd_data_disk;pointerEvents=1;fontSize=13;" vertex="1" parent="1">
<mxGeometry x="880" y="295" width="37.5" height="50" as="geometry" />
</mxCell>
<mxCell id="14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;sketch=1;curveFitting=1;jiggle=2;fontSize=13;" edge="1" source="12" target="13" parent="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;sketch=1;curveFitting=1;jiggle=2;fontSize=13;" edge="1" source="17" target="12" parent="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="16" value="&lt;font style=&quot;font-size: 13px;&quot;&gt;LogQL&lt;/font&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=13;" vertex="1" connectable="0" parent="15">
<mxGeometry x="-0.2292" y="6" relative="1" as="geometry">
<mxPoint x="-6" y="9" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="17" value="Grafana" style="html=1;whiteSpace=wrap;sketch=1;curveFitting=1;jiggle=2;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=13;" vertex="1" parent="1">
<mxGeometry x="640" y="40" width="160" height="80" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
<?xml version="1.0" encoding="UTF-8"?>
<mxfile host="app.diagrams.net" modified="2024-04-16T18:11:00.406Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36" version="24.2.5" etag="-WH8H3-rz6Ue760VwGem" type="google">
<diagram name="Page-1" id="MpKbH2FRilwsvTZM2o95">
<mxGraphModel dx="1229" dy="641" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="2" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fillColor=#dae8fc;strokeColor=#6c8ebf;strokeWidth=2;sketch=1;curveFitting=1;jiggle=2;" edge="1" parent="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="390" y="310" as="sourcePoint" />
<mxPoint x="390" y="400" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="3" value="&lt;div&gt;host metric&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" connectable="0" vertex="1" parent="2">
<mxGeometry x="-0.3556" y="4" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="4" value="" style="rounded=0;whiteSpace=wrap;html=1;sketch=1;curveFitting=1;jiggle=2;" vertex="1" parent="1">
<mxGeometry x="230" y="120" width="430" height="190" as="geometry" />
</mxCell>
<mxCell id="5" value="" style="group" connectable="0" vertex="1" parent="1">
<mxGeometry x="290" y="110" width="350" height="180" as="geometry" />
</mxCell>
<mxCell id="6" value="" style="rounded=0;whiteSpace=wrap;html=1;sketch=1;curveFitting=1;jiggle=2;" vertex="1" parent="5">
<mxGeometry x="-40" y="60" width="390" height="120" as="geometry" />
</mxCell>
<mxCell id="7" value="Application" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="5">
<mxGeometry x="96.86999999999999" y="58.13" width="116.25" height="63.75" as="geometry" />
</mxCell>
<mxCell id="8" value="&lt;div&gt;Metric Library&lt;br&gt;&lt;/div&gt;" style="html=1;whiteSpace=wrap;sketch=1;curveFitting=1;jiggle=2;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="5">
<mxGeometry x="-20" y="110" width="110" height="50" as="geometry" />
</mxCell>
<mxCell id="9" value="&lt;div&gt;Logging library&lt;/div&gt;" style="html=1;whiteSpace=wrap;sketch=1;curveFitting=1;jiggle=2;fillColor=#fff2cc;strokeColor=#d6b656;" vertex="1" parent="5">
<mxGeometry x="100" y="110" width="110" height="50" as="geometry" />
</mxCell>
<mxCell id="10" value="Tracing Library" style="html=1;whiteSpace=wrap;sketch=1;curveFitting=1;jiggle=2;fillColor=#f8cecc;strokeColor=#b85450;" vertex="1" parent="5">
<mxGeometry x="220" y="110" width="110" height="50" as="geometry" />
</mxCell>
<mxCell id="11" value="Bare Metal / VM / Pod / Container" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="5">
<mxGeometry x="59.989999999999995" y="20" width="190" height="30" as="geometry" />
</mxCell>
<mxCell id="12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;sketch=1;curveFitting=1;jiggle=2;" edge="1" source="15" target="25" parent="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;sketch=1;curveFitting=1;jiggle=2;" edge="1" source="15" target="32" parent="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;sketch=1;curveFitting=1;jiggle=2;" edge="1" source="15" target="29" parent="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="15" value="OpenTelemetry Collector" style="html=1;whiteSpace=wrap;sketch=1;curveFitting=1;jiggle=2;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="230" y="400" width="430" height="50" as="geometry" />
</mxCell>
<mxCell id="16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.223;entryY=0.02;entryDx=0;entryDy=0;entryPerimeter=0;fillColor=#dae8fc;strokeColor=#6c8ebf;strokeWidth=2;sketch=1;curveFitting=1;jiggle=2;" edge="1" source="8" target="15" parent="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="17" value="application metric" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" connectable="0" vertex="1" parent="16">
<mxGeometry x="0.2267" y="2" relative="1" as="geometry">
<mxPoint x="-3" y="10" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fillColor=#fff2cc;strokeColor=#d6b656;strokeWidth=2;sketch=1;curveFitting=1;jiggle=2;" edge="1" source="9" target="15" parent="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="19" value="&lt;div&gt;application log&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" connectable="0" vertex="1" parent="18">
<mxGeometry x="0.2923" y="3" relative="1" as="geometry">
<mxPoint x="-3" y="6" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="20" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fillColor=#fff2cc;strokeColor=#d6b656;strokeWidth=2;sketch=1;curveFitting=1;jiggle=2;" edge="1" source="4" parent="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="500" y="400" as="targetPoint" />
<Array as="points">
<mxPoint x="500" y="350" />
<mxPoint x="500" y="350" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="21" value="&lt;div&gt;host log&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" connectable="0" vertex="1" parent="20">
<mxGeometry x="0.1818" y="-1" relative="1" as="geometry">
<mxPoint x="1" y="-23" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="22" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.779;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;fillColor=#f8cecc;strokeColor=#b85450;strokeWidth=2;sketch=1;curveFitting=1;jiggle=2;" edge="1" source="10" target="15" parent="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="23" value="&lt;div&gt;application trace&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" connectable="0" vertex="1" parent="22">
<mxGeometry x="0.0154" y="1" relative="1" as="geometry">
<mxPoint x="-1" y="24" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" source="25" target="29" parent="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="25" value="Metric platform" style="html=1;whiteSpace=wrap;sketch=1;curveFitting=1;jiggle=2;" vertex="1" parent="1">
<mxGeometry x="180" y="500" width="110" height="50" as="geometry" />
</mxCell>
<mxCell id="26" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" source="29" target="25" parent="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="27" value="correlated" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" connectable="0" vertex="1" parent="26">
<mxGeometry x="0.12" y="-3" relative="1" as="geometry">
<mxPoint y="3" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="28" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" source="29" target="32" parent="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="29" value="Log aggregator" style="html=1;whiteSpace=wrap;sketch=1;curveFitting=1;jiggle=2;" vertex="1" parent="1">
<mxGeometry x="390" y="500" width="110" height="50" as="geometry" />
</mxCell>
<mxCell id="30" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" source="32" target="29" parent="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="31" value="correlated" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" connectable="0" vertex="1" parent="30">
<mxGeometry x="-0.2431" y="3" relative="1" as="geometry">
<mxPoint x="-12" y="-3" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="32" value="Tracing platform" style="html=1;whiteSpace=wrap;sketch=1;curveFitting=1;jiggle=2;" vertex="1" parent="1">
<mxGeometry x="600" y="500" width="110" height="50" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading